libsoup r952 - in trunk: . libsoup tests



Author: danw
Date: 2007-11-19 17:51:42 +0000 (Mon, 19 Nov 2007)
New Revision: 952
ViewCVS link: http://svn.gnome.org/viewcvs/libsoup?rev=952&view=rev

Added:
   trunk/tests/index.txt
   trunk/tests/pull-api.c
Modified:
   trunk/ChangeLog
   trunk/libsoup/soup-message-io.c
   trunk/libsoup/soup-session-async.c
   trunk/tests/
   trunk/tests/Makefile.am
   trunk/tests/httpd.conf.in
Log:
	* libsoup/soup-message-io.c (read_body_chunk): Fix the guards
	around the got_chunk emission so that it doesn't get messed up if
	you pause the I/O from the got_chunk handler. (#452280, Marco
	Barisione).
	(soup_message_io_pause, soup_message_io_unpause): Update docs
	again; these are now allowed with client-side I/O as well. Fix
	unpause() to unpause asynchronously on async sockets.
	
	* libsoup/soup-session-async.c (send_message): Iterate session's
	async_context, not the default main context.

	* tests/pull-api.c: Test/sample of creating a pull-style API using
	SoupSessionAsync.

	* tests/index.txt: new file to act as DirectoryIndex for the
	tests. (In particular, pull-api wants this to be largeish.)





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