/[Apache-SVN]
ViewVC logotype

Revision 1717064


Jump to revision: Previous Next
Author: rhuijben
Date: Sun Nov 29 13:27:53 2015 UTC (8 years, 7 months ago)
Changed paths: 1
Log Message:
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.


Changed paths

Path Details
Directoryserf/trunk/test/MockHTTPinC/MockHTTP_server.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26