| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/stable/6/; revision=182500
|
| |
|
|
| |
Notes:
svn path=/stable/6/; revision=175627
|
| |
|
|
|
|
|
|
|
|
| |
free the connection buffer as well.
PR: bin/76153
MFC after: 1 week
Notes:
svn path=/head/; revision=141970
|
| |
|
|
| |
Notes:
svn path=/head/; revision=135546
|
| |
|
|
| |
Notes:
svn path=/head/; revision=121423
|
| |
|
|
|
|
|
|
|
| |
specifying a local address to bind sockets to. Caveat: lightly tested.
PR: bin/37572
Notes:
svn path=/head/; revision=111816
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=109967
|
| |
|
|
| |
Notes:
svn path=/head/; revision=109960
|
| |
|
|
| |
Notes:
svn path=/head/; revision=109695
|
| |
|
|
|
|
|
|
| |
Submitted by: Andre Albsmeier <andre.albsmeier@siemens.com>
MFC after: 7 days
Notes:
svn path=/head/; revision=108579
|
| |
|
|
|
|
|
| |
Submitted by: fenner
Notes:
svn path=/head/; revision=106205
|
| |
|
|
|
|
|
| |
Change the type and name of a variable introduced in 1.33.
Notes:
svn path=/head/; revision=106186
|
| |
|
|
|
|
|
|
|
|
|
| |
the root cause of the bus errors I was experiencing.
Submitted by: fenner
Tested by: obrien
Prompted by: peter
Notes:
svn path=/head/; revision=106175
|
| |
|
|
|
|
|
|
| |
Revs 1.37-8 produce a bus error in some environments.
Revs 1.34-6 do not bus error, but write corrupted files.
Notes:
svn path=/head/; revision=106137
|
| |
|
|
|
|
|
|
|
|
|
|
| |
_fetch_writev() to incorrectly report EPIPE in certain cases.
Also fix a number of const warnings by using __DECONST(), plus a signed /
unsigned comparison by casting the rhs to ssize_t.
Submitted by: fenner, Craig Rodrigues <rodrigc@attbi.com>
Notes:
svn path=/head/; revision=106081
|
| |
|
|
|
|
|
|
|
| |
error, only report an error if no data was read at all (unless len was
0 to start with). Otherwise, the final read of practically any transfer
will end in a fatal error.
Notes:
svn path=/head/; revision=106049
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the SSL case, it is no different from the old _fetch_write(), but in the
non-SSL case it uses writev(2) to send the entire vector as a single
packet (provided it can fit in one packet). Implement _fetch_write()
and _fetch_putln() in terms of _fetch_writev().
This should improve performance in the non-SSL case (by reducing protocol
overhead) and solve the problem where too-smart-for-their-own-good
firewalls reject FTP packets that do not end in CRLF.
PR: bin/44123
Submitted by: fenner
Notes:
svn path=/head/; revision=106046
|
| |
|
|
|
|
|
|
|
|
|
| |
not initialized before use, and _http_growbuf() did not return a value
on success.
Reported by: Peter Edwards <pmedwards@eircom.net>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=106044
|
| |
|
|
|
|
|
|
|
|
| |
symptoms: make timeouts and short transfers fatal, and set errno to an
appropriate value (ETIMEDOUT for a timeout, EPIPE for a short transfer).
MFC after: 2 weeks
Notes:
svn path=/head/; revision=106040
|
| |
|
|
|
|
|
|
| |
connection is broken), take this into account and return at this
point.
Notes:
svn path=/head/; revision=103718
|
| |
|
|
|
|
|
| |
Tell ftp that _fetch_connect() always sets the error code (http already knew)
Notes:
svn path=/head/; revision=103459
|
| |
|
|
| |
Notes:
svn path=/head/; revision=98748
|
| |
|
|
|
|
|
| |
free a cached FTP connection.
Notes:
svn path=/head/; revision=98117
|
| |
|
|
| |
Notes:
svn path=/head/; revision=97891
|
| |
|
|
|
|
|
| |
Submitted by: Henry Whincup <henry@techiebod.com> (in principle)
Notes:
svn path=/head/; revision=97868
|
| |
|
|
|
|
|
|
| |
(except for DNS operations). Always use funopen() for HTTP, to support
both timeouts and SSL.
Notes:
svn path=/head/; revision=97866
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
which contains the socket descriptor, the input buffer and (yet unused)
SSL state variables. This has the neat side effect of greatly improving
reentrance (though we're not *quite* there yet) and opening the door to
HTTP connection caching.
This commit is inspired by email conversations with and patches from
Henry Whincup <henry@techiebod.com> last fall.
Notes:
svn path=/head/; revision=97856
|
| |
|
|
| |
Notes:
svn path=/head/; revision=90268
|
| |
|
|
|
|
|
|
| |
ftp.c and http.c now have exceedingly long lines due to deep nesting;
this will be corrected by reorganizing the code in a later revision.
Notes:
svn path=/head/; revision=90267
|
| |
|
|
|
|
|
|
|
|
| |
default.
PR: 32988
MFC after: 3 days
Notes:
svn path=/head/; revision=88769
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85143
|
| |
|
|
|
|
|
|
| |
ages - some of which wouldn't be necessary if gcc wasn't broken or TPTB were
willing to do something (-fno-builtin) about it.
Notes:
svn path=/head/; revision=85093
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84203
|
| |
|
|
| |
Notes:
svn path=/head/; revision=77237
|
| |
|
|
|
|
|
| |
Fix some other minor glitches.
Notes:
svn path=/head/; revision=75891
|
| |
|
|
| |
Notes:
svn path=/head/; revision=69271
|
| |
|
|
|
|
|
|
|
| |
in order to avoid this bug in the future.
Submitted by: se
Notes:
svn path=/head/; revision=68551
|
| |
|
|
|
|
|
|
|
|
| |
or not interrupted system calls will be restarted. This fixes a bug where
fetch(1) would hang (potentially forever) if a server stopped responding,
because the signal handler would absorb the user's efforts to interrupt the
transfer.
Notes:
svn path=/head/; revision=63334
|
| |
|
|
| |
Notes:
svn path=/head/; revision=62981
|
| |
|
|
| |
Notes:
svn path=/head/; revision=62964
|
| |
|
|
|
|
|
| |
Approved by: des
Notes:
svn path=/head/; revision=62911
|
| |
|
|
| |
Notes:
svn path=/head/; revision=60928
|
| |
|
|
| |
Notes:
svn path=/head/; revision=60924
|
| |
|
|
| |
Notes:
svn path=/head/; revision=60737
|
| |
|
|
| |
Notes:
svn path=/head/; revision=60190
|
| |
|
|
|
|
|
| |
Currently only supported for ftp connections.
Notes:
svn path=/head/; revision=55557
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50476
|
| |
|
|
| |
Notes:
svn path=/head/; revision=41989
|
| |
|
|
|
|
|
| |
Rename fetchConnect to _fetch_connect since it's internal.
Notes:
svn path=/head/; revision=41923
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Brucify the Makefile.
Differentiate atime and mtime in fetch*Stat().
Fix a few pointer bugs.
Tweak some error messages.
Don't #include sys/param.h and stdio.h in fetch.h.
Document that sys/param.h and stdio.h must be #included before fetch.h.
Notes:
svn path=/head/; revision=41862
|