|Think about Loose Coupling|
Problems accepting client databy dwatson06 (Friar)
|on Apr 21, 2004 at 19:56 UTC||Need Help??|
dwatson06 has asked for the
wisdom of the Perl Monks concerning the following question:
I am in the process of writing a server that will accept an xml file, parse it, then send a response back based on the file.
I have successfully written the Server and a mock Client in Perl which communicate wonderfully through a tcp connection on port 80. The problem is, when the actual client connects using their client app, it passes a POST header which the server takes in but it stops responding when the xml data is passed.
At this point I want to take in all the information from the client request. I have a packet sniffer open and it's showing me the POST request which the server accepts and writes. After that, the sniffer shows a continuation which holds the XML data from the client. The server stops after printing the Header POST, and no XML is printed.
Any suggestions would be greatly appreciated.