Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > HTTP Browser intolerance of Applet delays/segmentation

Thread Tools

HTTP Browser intolerance of Applet delays/segmentation

Richard Maher
Posts: n/a

Can anyone point me to an RFC or any other spec, documentation, or standard
that describes what a HTTP browser/client should do when receiving an Applet
body (could be any file transmission for that matter) from a server.

My guess at what Internet Explorer 6 is doing is non-blocking socket reads
on the http connection and as soon as one returns an error (or zero bytes
transferred) then it clocks-it as a fail and tries again. If it fails N
times (Where 'N' appears to be 3) it starts asking for class files.

I only experience this problem when I set the transfer page size for the
server down to low values like 1K or 2K (and it can go up to 32K) but it
certainly appears that if the browser's Reads are quicker than the server
can get the stuff onto the wire, then it barfs.

I don't know if this is IE only (ie6 only) or all browsers, which is why I'm
asking for a pointer to standard or spec that says "On a http connection you
should not assume that a zero byte non-blocking read indicates a socket
close at the other end". Or some browser config parameter that can be set
like the Socket.connect(host, port, TIMEOUT)

Any thoughts, experiences, help?

Just increase the page size till it stops happening?

Cheers Richard Maher

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP SOAP/HTTP GET/HTTP POST milan_9211 Software 0 01-10-2011 02:10 PM
ignorance and intolerance in computing communties Xah Lee Python 13 05-04-2007 11:38 AM
ignorance and intolerance in computing communties Xah Lee Perl Misc 9 05-03-2007 04:04 PM
HELP!! Netbeans Browser client applet using HTTP Servers(iis, apache) boston_code_monkey Java 0 11-18-2005 11:49 PM
Cool Applet Cool Applet Alisher Fatykhov Java 1 08-06-2003 04:32 AM