projects
/
platform
/
upstream
/
libsoup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0388e6
)
Revert "soup-message-io: clear connection from queue items when IDLE status is set"
author
Dan Winship
<danw@gnome.org>
Tue, 5 Jul 2011 01:36:47 +0000
(21:36 -0400)
committer
Dan Winship
<danw@gnome.org>
Tue, 5 Jul 2011 01:36:47 +0000
(21:36 -0400)
This broke tests/proxy-test.
This reverts commit
c56c66aa2625bc95f54f8a1972e13503f454a51a
.
libsoup/soup-message-io.c
patch
|
blob
|
history
diff --git
a/libsoup/soup-message-io.c
b/libsoup/soup-message-io.c
index
f9acc8f
..
ee30b41
100644
(file)
--- a/
libsoup/soup-message-io.c
+++ b/
libsoup/soup-message-io.c
@@
-146,11
+146,8
@@
soup_message_io_stop (SoupMessage *msg)
if (io->read_state < SOUP_MESSAGE_IO_STATE_FINISHING)
soup_socket_disconnect (io->sock);
- else if (io->item && io->item->conn)
{
+ else if (io->item && io->item->conn)
soup_connection_set_state (io->item->conn, SOUP_CONNECTION_IDLE);
- g_object_unref (io->item->conn);
- io->item->conn = NULL;
- }
}
#define SOUP_MESSAGE_IO_EOL "\r\n"