Commit Graph
8 Commits
Author SHA1 Message Date
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Gonzalo Paniagua Javier 671f8b5ce6 2004-06-06 Gonzalo Paniagua Javier <[email protected]>
* ChunkStream.cs: added ChunkLeft property.
	* WebConnection.cs:
	(EndRead): when using small byte arrays to read from a chunked stream,
	ensure we've read the chunk size and try to fulfill the request
	completely. fixes bug 59653.

svn path=/trunk/mcs/; revision=28915
2004-06-06 17:41:06 +00:00
Gonzalo Paniagua Javier c48e993d10 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
* ChunkStream.cs: use an array of buffers instead of a MemoryStream for
	storing the chunks. This way, we won't miss traling data from the
	previous chunk when a new one is received before the other is fully
	read.

svn path=/trunk/mcs/; revision=23004
2004-02-12 00:50:34 +00:00
Gonzalo Paniagua Javier 9718b1dc86 2004-02-10 Gonzalo Paniagua Javier <[email protected]>
* ChunkStream.cs:
	* WebConnection.cs: fixed bug that caused ChunkStream to return 0 on
	Read if it have not yet received any byte of the body but is expecting
	a body.

svn path=/trunk/mcs/; revision=22944
2004-02-10 14:47:34 +00:00
Lluis Sanchez f2ab3f236a * ChunkStream.cs: The "size" parameter of Write is not the number of bytes
to write, but the last offset to be written. Thus, in WriteAndReadBack,
	since "read" is not an offset but the number of bytes, it must be added to
	the offset. Maybe it would be a good idea to change the name of the
	parameter, since it is confusing. This should fix bug #52591.

svn path=/trunk/mcs/; revision=22161
2004-01-16 11:37:40 +00:00
Gonzalo Paniagua Javier 6873f63f25 2003-07-20 Gonzalo Paniagua Javier <[email protected]>
* ChunkStream.cs:
	(WantMore): true if we've not received the last chunk yet. Fixes
	bug #45463. Thanks to Miguel for tracking this down and providing a
	test case.

	* WebConnection.cs: removed bogus ^M's.

	* WebHeaderCollection.cs: provide more info when the header or value is
	wrong.

svn path=/trunk/mcs/; revision=16441
2003-07-20 11:29:09 +00:00
Andreas N 84c5f4a194 2003-07-15 Andreas Nahr <[email protected]>
* ChunkStream.cs: Removed unused members
	* IPAddress.cs: Removed unused exception variable, fixes compiler warning
	* WebConnection.cs: Removed unused exception variables, fixes compiler warnings

svn path=/trunk/mcs/; revision=16260
2003-07-15 10:07:15 +00:00
Gonzalo Paniagua Javier cc8432099d Reworked HttpWebRequest and related classes.
svn path=/trunk/mcs/; revision=15149
2003-06-06 06:57:36 +00:00