In the mock-http server: stop reading requests when we decide that we are
going to close the connection. Reading them may tell the other side that
we are going to process them.

* test/MockHTTPinC/MockHTTP_server.c
  (sslSocketShutdown): Add prototype.
  (shutdown_func_t): Define.
  (_mhClientCtx_t): Add shutdown function.
  (socketShutdown): New function.
  (processServer): Shutdown the connection when we decide to stop processing
    after this request.
  (initClientCtx): Init functions.
  (sslSocketShutdown): New function.


git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1717064 13f79535-47bb-0310-9956-ffa450edef68
1 file changed