Sun One Web Server 6.1 411 Chunked Error
807567Jul 13 2009 — edited Jul 16 2009Hi,
I have an issue using Sun one Web Server 6.1. When being sent chunked data as opposed to something with a content-length the web server returns a 411 error specifying that a "content-length" must be present. After reading the documentation and posts etc.. I found that a 411 error may occur if a) the server is not set up to read chunked data 2) the size of the data being sent may exceed the default size. I imagine that being Http1.1 compatible it is not option 1.
So i attempted to modify the obj.conf with the ChunkedRequestBufferSize. However, I'm not sure if I have done this correctly. I made an entry into the <Object name="default"> tab. Actually first i added the entry to the end of the Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file ChunkedRequestBufferSize=XXXX but that did not seem to work (XXXX being a large number). I then tried just adding an entry as such to the same object tag:
Service ChunkedRequestBufferSize=XXXX fn=send-file. This didn't work either.
On a side note. Now I'm not sure if I haven't made a proper entry (very likely) or if there is an issue that a patch would fix. I'm running a test env on Windows XP and cannot seem to install the latest service pack.
Any help would be greatly appreciated.
Thanks.