| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
we get a genuine 416 reply.
|
|
|
|
|
|
|
| |
reply with a 416 error code (requested range not satisfiable) because
we ask it to start at the end of the file. Handle this gracefully by
considering a 416 reply a success if the requested offset exactly
matches the length of the file and the requested length is zero.
|
| |
|
|
|
|
|
| |
man pages (though not from copyright notices). While I'm here, add email
addresses where appropriate.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
open) rather than 150 (opening connection). There's no reason why we
shouldn't accept that.
PR: misc/42172
MFC in: 3 days
|
|
|
|
|
|
| |
the "crypto" distribution.
Approved by: des
|
|
|
|
|
| |
PR: 43899
Reviewed by: des, ru
|
|
|
|
| |
Approved by: re (blanket)
|
|
|
|
| |
Approved by: re (scottl)
|
|
|
|
|
| |
juggling with levels 2 and 3, as this has lead to world breakage for
NOCRYPT users in the past.
|
| |
|
|
|
|
| |
Approved by: des, markm (mentor)(implicit)
|
|
|
|
| |
functional difference, but debugging output will be less confusing.
|
|
|
|
|
|
| |
specifying a local address to bind sockets to. Caveat: lightly tested.
PR: bin/37572
|
|
|
|
| |
Fixed by: nectar
|
| |
|
|
|
|
| |
MFC after: 3 days
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: Andre Albsmeier <andre.albsmeier@siemens.com>
MFC after: 7 days
|
| |
|
|
|
|
|
|
|
| |
This may only be turning up now to changes in the cpp predefines for sparc64,
which may be turning on more strict alignment checking.
Approved by: re
|
|
|
|
|
|
|
| |
PR: 28171
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Approved by: re (bmah)
MFC after: 1 week
|
| |
|
| |
|
|
|
|
| |
Submitted by: fenner
|
|
|
|
|
|
| |
unrecognized commands such as MDTM.
Requested by: Stephen Roome <stephen_roome@pepcross.com>
|
| |
|
|
|
|
| |
Change the type and name of a variable introduced in 1.33.
|
| |
|
|
|
|
|
|
|
|
| |
the root cause of the bus errors I was experiencing.
Submitted by: fenner
Tested by: obrien
Prompted by: peter
|
|
|
|
|
| |
Revs 1.37-8 produce a bus error in some environments.
Revs 1.34-6 do not bus error, but write corrupted files.
|
| |
|
|
|
|
|
|
|
|
|
| |
_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>
|
|
|
|
| |
Approved by: des
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
closed through _fetch_close() which is the only one who knows the connection
REALLY was closed (since ref -> 0). However, FTP keeps its own local
cached_connection and checks if it is valid by comparing it to NULL. This
is bogus since it may have been freed elsewhere by _fetch_close().
This change checks if we are closing the cached_connection and the ref is 1
(soon to be 0). If so, set cached_connection to NULL so we don't
accidentally reuse it. The REAL fix should be to move connection caching
to the common.c level (_fetch_* functions) and NULL the cache(s) in
_fetch_close(). Then all layers could benefit from caching.
|
| |
|
|
|
|
|
| |
the heap block does not get freed and reused. This should fix the
pkg_add -r crashes that have been happening for months.
|
| |
|