Re: PnP PKI / CMP Server Timeout problem
TM <[email protected]> Wed, 05 Nov 2014 00:19:50 +0100
| Newsgroups | gmane.comp.encryption.cryptlib |
|---|---|
| Message-ID | <[email protected]> |
On 2014-11-03 22:43, Peter Gutmann wrote: > TM <[email protected]> writes: > >> Have you any suggestion where to begin, where to step into the code (client, >> server)?. I have little knowledge about inner structure of cryptlib code. > > The client-side code is in session/cmp_cli.c, function > clientTransactWrapper(). For the server it's in session/cmp_svr.c, function > serverTransact(). > Client-side program stops on when works on buffer which is: HTTP/1.1 200 OK Connection: keep-alive Content-Type: application/pkixcmp Content-Length: 1315 Cache-Control: no-cache 0‚0 ¤0 status = sread( &sessionInfoPtr->stream, &httpDataInfo, sizeof( HTTP_DATA_INFO ) ); .... if steping deeper up to: tcp.c .... ioWait... status = select( netStream->netSocket + 1, readFDPtr, writeFDPtr, &exceptfds, &tv ); waits and returns status=0 Server-side just goes on... only status which is not 0 is: cmp_svr.c status = cmpInfo->requestType = \ reqToClibReq( protocolInfo.operation ); status = 5 and after parsing cmp_wr.c returns happy to server code. Regards Tomasz _______________________________________________ Cryptlib mailing list [email protected] via Mail: [email protected] Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/ http://news.gmane.org/gmane.comp.encryption.cryptlib Posts from non-subscribed addresses are blocked to prevent spam, please subscribe in order to post messages.