change read_length, write_length, and written to goffset so we can
authorDan Winship <danw@src.gnome.org>
Sat, 26 Jul 2008 13:29:17 +0000 (13:29 +0000)
committerDan Winship <danw@src.gnome.org>
Sat, 26 Jul 2008 13:29:17 +0000 (13:29 +0000)
* 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

ChangeLog
libsoup/soup-message-io.c

index 936114f..caaa157 100644 (file)
--- 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
index 87cc600..74c7901 100644 (file)
@@ -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;