if we receive an HTTP/1.0 response to an HTTP/1.1 request, downgrade the
authorDan Winship <danw@src.gnome.org>
Wed, 10 Dec 2003 18:35:25 +0000 (18:35 +0000)
committerDan Winship <danw@src.gnome.org>
Wed, 10 Dec 2003 18:35:25 +0000 (18:35 +0000)
commit47e18f7f047259cd7fefae04e6673ed3026731a3
tree1c7455e4dc0ae106ccdfa820cc1eed26b9b7b22c
parentf80d75c5ef7681daa2c79626058341fd27073d36
if we receive an HTTP/1.0 response to an HTTP/1.1 request, downgrade the

* libsoup/soup-message-client-io.c (parse_response_headers): if we
receive an HTTP/1.0 response to an HTTP/1.1 request, downgrade the
message's http_version so the keep-alive handling is correct.
Fixes a problem noticed almost simultaneously by Rodrigo and Joe.

* libsoup/soup-message.c (soup_message_restarted, etc): Add a
"restarted" signal as suggested by Joe.

* libsoup/soup-message-io.c (soup_message_io_finished): emit
either "restarted" or "finished" as appropriate

* libsoup/soup-session.c (soup_session_queue_message): Connect to
"restarted" and run the queue if a message gets restarted

* libsoup/soup-status.h: Remove a stray comma that gtk-doc doesn't
like.
ChangeLog
libsoup/soup-message-client-io.c
libsoup/soup-message-io.c
libsoup/soup-message.c
libsoup/soup-message.h
libsoup/soup-session.c
libsoup/soup-status.h