libsoup r1145 - in trunk: . libsoup



Author: danw
Date: Sat Jul 26 13:29:17 2008
New Revision: 1145
URL: http://svn.gnome.org/viewvc/libsoup?rev=1145&view=rev

Log:
	* 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.


Modified:
   trunk/ChangeLog
   trunk/libsoup/soup-message-io.c

Modified: trunk/libsoup/soup-message-io.c
==============================================================================
--- trunk/libsoup/soup-message-io.c	(original)
+++ trunk/libsoup/soup-message-io.c	Sat Jul 26 13:29:17 2008
@@ -51,7 +51,7 @@
 	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 @@
 	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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]