Summary: | Getting IOException when line length exceeds 4096 | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | Wenjun <wenjun> |
Component: | Connector:Coyote | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | rauschuber |
Priority: | P3 | ||
Version: | 5.0.14 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | All |
Description
Wenjun
2003-11-21 16:31:34 UTC
This is a (reasonable) limit that I did put in on purpose. See the CoyoteReader source for the constant (and recompile to change it for special purpose applications). (In reply to comment #1) > This is a (reasonable) limit that I did put in on purpose. See the CoyoteReader > source for the constant (and recompile to change it for special purpose > applications). I don't understand how this is reasonable. If someone sending a request to a webservice, and the request is well formed (doesn't have to have line breaks to be well formed), and it is a request with a lot of data, then this breaks it. Maybe I'm missing something, I don't want to have to force my clients to to insert line breaks in their XML requests when there is nothing in the W3C standard that says XML requests have to contain line breaks. Am I missing something? (In reply to comment #2) > (In reply to comment #1) > > This is a (reasonable) limit that I did put in on purpose. See the CoyoteReader > > source for the constant (and recompile to change it for special purpose > > applications). > > I don't understand how this is reasonable. If someone sending a request to a > webservice, and the request is well formed (doesn't have to have line breaks to > be well formed), and it is a request with a lot of data, then this breaks it. > Maybe I'm missing something, I don't want to have to force my clients to to > insert line breaks in their XML requests when there is nothing in the W3C > standard that says XML requests have to contain line breaks. > > Am I missing something? > This seems to have been fixed in version 5.5.4. This cannot be unlimited, so 4KB is a very reasonable constant. Using this method will make your application *extremely* inefficient, BTW. |