[ jetty-Bugs-1119248 ] Invalid chunk end should IOException

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ jetty-Bugs-1119248 ] Invalid chunk end should IOException

SourceForge.net
Bugs item #1119248, was opened at 2005-02-09 12:05
Message generated for change (Settings changed) made by gregwilkins
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1119248&group_id=7322

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Greg Wilkins (gregwilkins)
Assigned to: Greg Wilkins (gregwilkins)
Summary: Invalid chunk end should IOException

Initial Comment:
 "Paul Jakubik" reported:


>> My first email may not have been clear. I have
checked the
>> release notes and did not see this issue described.
>>
>
>>> > I am using Jetty 4.2.14 and having problems with
incomplete
>>> > chunked transfers. I am wondering if there is a
later version
>>> > where this problem is fixed, or even if other
people see this
>>> > problem.
>>> >
>>> > details:
>>> > A client is doing a chunked transfer PUT to
Jetty. The client
>>> > decides to cancel the output before the transfer
is complete.
>>> > The last thing the client sends to Jetty before
the client
>>> > calls socket.shutdownOutput() is a chunk header
saying the
>>> > next
>>> > chunk is 16KB.
>>> >
>>> > I thought that in this case Jetty would throw an
exception at
>>> > the servlet that was attempting to read the data
through
>>> > Jetty.
>>> > Jetty has not seen the zero length chunk saying
it received
>>> > all
>>> > data, so it seemed reasonable to me that jetty
would throw an
>>> > exception saying this.
>>> >
>>> > Instead jetty returns -1 from the read. In the
servlet, I
>>> > can't see the chunk information, and so don't
know that I
>>> > only have a partial file.
>>> >
>>> > - Do you agree this is a problem?
>>> > - Has this problem already been fixed?
>>> >
>>> > --Paul
>>> >





----------------------------------------------------------------------

Comment By: Greg Wilkins (gregwilkins)
Date: 2005-02-11 19:40

Message:
Logged In: YES
user_id=44062

In CVS now

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107322&aid=1119248&group_id=7322


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
jetty-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-discuss