1. 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

new topic     » topic index » view message » categorize

2. Re: Renaissance Web Server / Processor

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!

new topic     » goto parent     » topic index » view message » categorize

3. Re: Renaissance Web Server / Processor

On 2 Apr 2003, at 16:40, Greg Haberek wrote:

> 
> 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?

Yes, but i wanted it for every connection HERE !

Kat

> ----- 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!
> 
> 
> 
> TOPICA - Start your own email discussion group. FREE!
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu