libsoup r947 - in trunk: . docs/reference libsoup tests



Author: danw
Date: 2007-10-28 17:23:38 +0000 (Sun, 28 Oct 2007)
New Revision: 947
ViewCVS link: http://svn.gnome.org/viewcvs/libsoup?rev=947&view=rev

Modified:
   trunk/ChangeLog
   trunk/docs/reference/server-howto.xml
   trunk/libsoup/soup-message-io.c
   trunk/libsoup/soup-server.c
   trunk/tests/simple-proxy.c
Log:
	* libsoup/soup-server.c (start_request, request_finished): ref the
	socket around the processing of the message, since otherwise it
	might already be freed when request_finished runs. #459896.

	* libsoup/soup-message-io.c (soup_message_io_pause)
	(soup_message_io_unpause): Clarify the docs here; this is for
	server-side use only. Inspired by #452280.

	* docs/reference/server-howto.xml: You need to watch the
	"finished" signal on the message if using soup_message_io_pause()
	or chunked encoding, because the client might disconnect while
	you're paused. Clarification inspired by #471385.

	* tests/simple-proxy.c (client_msg_failed): Fix this to DTRT since
	server-howto.xml points to it as an example of what to do.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]