Re: Renaissance Web Server / Processor
- Posted by Greg Haberek <g.haberek at comcast.net> Apr 02, 2003
- 358 views
I did the same to my copy of Renaissance. Here is what I got: GET /recieved.txt HTTP/1.1 Accept: */* Referer: http://localhost/recieved.txt Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt) Host: localhost Connection: Keep-Alive Is that what you were looking to get? ----- Original Message ----- From: <gertie at visionsix.com> To: EUforum <EUforum at topica.com> Sent: Wednesday, April 02, 2003 3:30 PM Subject: Renaissance Web Server / Processor Greetings,, In Renaissance Web Server / Processor, in file http-lib.e, under function HttpDialog(sequence rx), I dropped this chunk of code: object writefile writefile = open("recieved.txt","w") puts(writefile,rx) close(writefile) and all that is ever in recieved.txt is: GET /recieved.txt HTTP/1.0 ( i request http://localhost/recieved.txt ) Thinking the async code was leaving the socket too soon, i wrapped this code: while ( (time()-starttime) < 5 ) do -- this while sequence(owork) do rx = rx & owork owork = WsockReadData(sock,1) end while -- RX now contains the client's response sleep(1) end while -- this Giving it 5 sec to linger and collect the other headers. It doesn't. What's happening? How do i get them with Renaissance? Kat TOPICA - Start your own email discussion group. FREE!