A
ahlongxp
Hi, everyone,
I'm implementing a simple client/server protocol.
Now I've got a situation:
client will send server command,header paires and optionally body.
server checks headers and decides whether to accept(read) the body.
if server decided to throw(dump) the request's body, it'll send back a
response message, such as "resource already exists" and close the
connection.
the problem is, client will never get the response but a "peer reset"
exception.
any comments or help will be appreciated.
--
ahlongxp
Software College,Northeastern University,China
(e-mail address removed)
http://www.herofit.cn
I'm implementing a simple client/server protocol.
Now I've got a situation:
client will send server command,header paires and optionally body.
server checks headers and decides whether to accept(read) the body.
if server decided to throw(dump) the request's body, it'll send back a
response message, such as "resource already exists" and close the
connection.
the problem is, client will never get the response but a "peer reset"
exception.
any comments or help will be appreciated.
--
ahlongxp
Software College,Northeastern University,China
(e-mail address removed)
http://www.herofit.cn