summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2008-07-26 13:29:17 +0000
committerDan Winship <danw@src.gnome.org>2008-07-26 13:29:17 +0000
commitdf5136f7258bf259c7504b00178fa8c6bd25a100 (patch)
tree0b1723396e61036ced671684a679e0d2d8b7a142
parent1c709559524880ed02f6b0a8c4327bfc9466a716 (diff)
downloadlibsoup-df5136f7258bf259c7504b00178fa8c6bd25a100.tar.gz
change read_length, write_length, and written to goffset so we can
* libsoup/soup-message-io.c (SoupMessageIOData): change read_length, write_length, and written to goffset so we can properly handle message bodies > 4G. #539861, Peter Christensen. svn path=/trunk/; revision=1145
-rw-r--r--ChangeLog4
-rw-r--r--libsoup/soup-message-io.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 936114f3..caaa1574 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,10 @@
if the server response doesn't include an algorithm, it is
supposed to default to MD5. #544681, Mads Chr. Olesen.
+ * libsoup/soup-message-io.c (SoupMessageIOData): change
+ read_length, write_length, and written to goffset so we can
+ properly handle message bodies > 4G. #539861, Peter Christensen.
+
2008-06-04 Tor Lillqvist <tml@novell.com>
* libsoup/soup-socket.c (set_fdflags): The SO_RCVTIMEO and
diff --git a/libsoup/soup-message-io.c b/libsoup/soup-message-io.c
index 87cc600c..74c79010 100644
--- a/libsoup/soup-message-io.c
+++ b/libsoup/soup-message-io.c
@@ -51,7 +51,7 @@ typedef struct {
SoupEncoding read_encoding;
GByteArray *read_meta_buf;
SoupMessageBody *read_body;
- guint read_length;
+ goffset read_length;
SoupMessageIOState write_state;
SoupEncoding write_encoding;
@@ -59,8 +59,8 @@ typedef struct {
SoupMessageBody *write_body;
SoupBuffer *write_chunk;
gsize write_body_offset;
- guint write_length;
- guint written;
+ goffset write_length;
+ goffset written;
guint read_tag, write_tag, err_tag;
GSource *unpause_source;