Bug 571283 - Allow LF LF instead of CRLF CRLF as header/body separator
authorDan Winship <danw@src.gnome.org>
Tue, 24 Mar 2009 23:12:21 +0000 (23:12 +0000)
committerDan Winship <danw@src.gnome.org>
Tue, 24 Mar 2009 23:12:21 +0000 (23:12 +0000)
commit6775977359b3c05840ce21be9ee3de3bfb7eac72
tree74078ce5f264713050bff105e069d2dd14844285
parentd1efe3dad63edf97a2bc7b06cd7c1c9c9603ac31
Bug 571283 - Allow LF LF instead of CRLF CRLF as header/body separator

* libsoup/soup-message-io.c (read_metadata): Change how this
works; instead of taking a boundary string, just always pass "\n"
as the boundary to soup_socket_read_until(), but call it multiple
times if the caller wants us to read until a blank line.
(io_read): update to deal with the fact that the headers might be
terminated by LF LF rather than CRLF CRLF.

svn path=/trunk/; revision=1253
ChangeLog
libsoup/soup-message-io.c