summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2008-04-04 13:20:01 +0000
committerDan Winship <danw@src.gnome.org>2008-04-04 13:20:01 +0000
commit230333d817d6d42923e278ec49b6d257d59abf17 (patch)
tree0748cadbc4f615add0fc3369d1bb7426ba14d829 /ChangeLog
parent0fe9af2d15c4bc8dcd3413ace0c8e3f6dbe4b487 (diff)
downloadlibsoup-230333d817d6d42923e278ec49b6d257d59abf17.tar.gz
add a new signal "wrote-body-data" to address the problem that
* libsoup/soup-message.c: add a new signal "wrote-body-data" to address the problem that "wrote-chunk" is not usable for progress info (especially with non-chunked encoding). #525101, suggested by Christian Kellner. * libsoup/soup-message-io.c (write_data): emit wrote-body-data as appropriate. (io_write): update so that (a) Content-Length writes can be done in multiple chunks (as long as the caller explicitly sets the Content-Length header beforehand), and (b) the body data doesn't get copied an extra time. Based on a patch from Christian. * libsoup/soup-message-client-io.c (get_request_headers): Don't update the Content-Length header if it's already set, even if it doesn't match the (current) body length. * tests/chunk-test.c: test some chunk-encoding-related behavior svn path=/trunk/; revision=1120
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 47f78e77..e43f6ccd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2008-04-04 Dan Winship <danw@gnome.org>
+
+ * libsoup/soup-message.c: add a new signal "wrote-body-data" to
+ address the problem that "wrote-chunk" is not usable for progress
+ info (especially with non-chunked encoding). #525101, suggested by
+ Christian Kellner.
+
+ * libsoup/soup-message-io.c (write_data): emit wrote-body-data as
+ appropriate.
+ (io_write): update so that (a) Content-Length writes can be done
+ in multiple chunks (as long as the caller explicitly sets the
+ Content-Length header beforehand), and (b) the body data doesn't
+ get copied an extra time. Based on a patch from Christian.
+
+ * libsoup/soup-message-client-io.c (get_request_headers): Don't
+ update the Content-Length header if it's already set, even if it
+ doesn't match the (current) body length.
+
+ * tests/chunk-test.c: test some chunk-encoding-related behavior
+
2008-04-03 Dan Winship <danw@gnome.org>
Be more aggressive about closing unused persistent connections