|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: cannot do a POST with proxyby snoopy (Chaplain) |
| on Sep 14, 2009 at 01:29 UTC ( #795046=note: print w/ replies, xml ) | Need Help?? |
|
Rather than "working well", this code happens to work when there is no buffering or true bidirectional communication between the client and the server at any stage. This is breaking down when you try a POST. You'll need to restructure your two while loops in your fetch method, to ensure you only read from the client or server when they are ready to write. perlipc shows an example, using select(), however, IO::Select should work here.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||