Bug 574414 – Make SOUP_SESSION_TIMEOUT work with SoupSessionAsync
authorDan Winship <danw@gnome.org>
Sat, 18 Apr 2009 12:29:28 +0000 (08:29 -0400)
committerDan Winship <danw@gnome.org>
Sat, 18 Apr 2009 12:29:28 +0000 (08:29 -0400)
commitc3c420f75359da299ffa8912e595c8b99ac40912
tree43f97038f63295419d5f5067e8340c83ab40c995
parent0c5fb21d2dabb4bc47f6f1bb893a17624e456dbd
Bug 574414 – Make SOUP_SESSION_TIMEOUT work with SoupSessionAsync

soup-socket.c: when adding an IO watch to wait for an async socket to
become readable/writable, add a timeout as well, and fail if the
timeout times out.

soup-connection.c: Pass the TIMEOUT flag to async sockets too
libsoup/soup-connection.c
libsoup/soup-socket.c