I have a problem with connection in pydirectory.
my client calls pydirector which redirects the http request to one of 4
who run in the same machine but in different port.
client ----> xx.xx.xx.xx:8080 (pydirector) ---> xxx.xxx.xxx.xxx:9000
then the xxx.xxx.xxx.xxx:9xxx choosen by pydirector has to return the answer
pydirector (i suppose), that to client.
REQUEST: client -> pydirector ->node
The problem is this: if i call directly the node from client without
pydirector , for example with urlib.urlopen(url)
this return me html code (response). Perfect.
If, instead, i call pydev, the request is send to one of 4 node but i wait
the response forever, because ( i suppose)
some connections are not close or free..
only if i read first x lines i can see a piece of html..it seems the client
waits for someone who close connection..
the same problem is if a do a benchmark test with ab (apache). i wait
forever the response.
is it possible?
how can i resolve the problem??
thank you very much
Get latest updates about Open Source Projects, Conferences and News.