Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/ftp



Module Name:    src
Committed By:   lukem
Date:           Tue Jul 20 12:46:51 UTC 2004

Modified Files:
        src/usr.bin/ftp: fetch.c version.h

Log Message:
Improve parsing of HTTP response headers to be more RFC2616 compliant, and
skip LWS (linear white space; CR, LF, space, tab) and the end of lines and
between the field name and the field value.  This still isn't 100% compliant,
since we don't support "multi line" responses at this time.
This should fix PR [bin/22611] from TAMURA Kent (although I can't easily
find a http server to reproduce the problem against.)

Fix a minor memory leak when parsing HTTP response headers.


To generate a diff of this commit:
cvs rdiff -r1.149 -r1.150 src/usr.bin/ftp/fetch.c
cvs rdiff -r1.38 -r1.39 src/usr.bin/ftp/version.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index