[plt-scheme] Problems fetching page

From: David T. Pierson (dtp at mindstory.com)
Date: Sun Apr 25 09:25:14 EDT 2004

On Sat, Apr 24, 2004 at 06:05:18PM -0400, Anton van Straaten wrote:
> Neil's right, it looks more as though the server can't handle certain
> request packet splits.  It seems that if the request line "GET /

FWIW, I've seen this problem before with an IIS server that was using a
certain ISAPI filter.  If the entire request wasn't in the first TCP
packet, the request would generate an error response.  This is not
correct server behavior of course.  However, if possible I would
recommend that HTTP requests (at least the request line and headers,
which is everything for GET requests) *attempt* to be sent in one chunk.
I haven't looked at the current source, but using string-append as Anton
suggested should solve this type of problem in most cases.  Due to the
nature of TCP connections, it may even be faster.

David


Posted on the users mailing list.