Renaissance Web Server / Processor

new topic     » topic index » view thread      » older message » newer message

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 thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu