Hi,
My problem is as follows:
client --- squid ----- server
I open a scoket connection from client to proxy, with a
POST http://server ...
this works fine.
1) Now i can send through this socket many request (works fine).
2) Then i tried to send a request and push many data packages
back to the client (works fine).
Now i try to do 1) and 2) simultaneously, but the proxy
kicks me off (the code works fine without proxy).
To be more precise, i believe the socket connection is
still there, but the data written to the socket is not
reaching the counterpart.
This is not timeout related as the test runs through in some
milliseconds.
Now my question:
Is there any trick that proxies allow what i want
to do (setting some strange http header etc.)?
Can i dump more info with squid to find out
why the pushed message suddenly does not reach the
destination?
thanks,
Marcel
Some code:
------------ The request header ----------------------
Receiving HTTP request
POST / HTTP/1.0
From: xx@yy.com
Receiving HTTP request
User-Agent: HTTP xmlBlaster/1.0
Receiving HTTP request
Pragma: no-cache
Content-Type: text/plain
Content-Length: 16
Via: 1.1 develop.ruff.de:3128 (Squid/2.4.STABLE2)
X-Forwarded-For: 192.168.1.2
Host: 192.168.1.2:8080
Cache-Control: no-cache, max-age=259200
Connection: keep-alive
-------------------------------------------
------------ The sent callback header ----------
HTTP/1.1 200 OK
Server: HTTP xmlBlaster server/1.0
Cache-Control: no-cache
Pragma: no-cache
Connection: Keep-Alive
Keep-Alive: 30000000
Content-Type: multipart/x-mixed-replace;boundary=End
-------------------------------------------
----------- The received callback header -----
Receiving HTTP request
HTTP/1.1 200 OK
Receiving HTTP request
Server: HTTP xmlBlaster server/1.0
Cache-Control: no-cache
Receiving HTTP request
Pragma: no-cache
Connection: Keep-Alive
Keep-Alive: 30000000
Content-Type: multipart/x-mixed-replace;boundary=End
-------------------------------------------
-- Marcel Ruff mailto:ruff@swand.lake.de http://www.lake.de/home/lake/swand/ http://www.xmlBlaster.orgReceived on Wed Feb 20 2002 - 04:06:04 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:26 MST