MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / processReply

Function processReply

extra/yassl/src/handshake.cpp:835–850  ·  view source on GitHub ↗

process input requests

Source from the content-addressed store, hash-verified

833
834// process input requests
835void processReply(SSL& ssl)
836{
837 if (ssl.GetError()) return;
838
839 if (DoProcessReply(ssl)) {
840 // didn't complete process
841 if (!ssl.getSocket().IsNonBlocking()) {
842 // keep trying now, blocking ok
843 while (!ssl.GetError())
844 if (DoProcessReply(ssl) == 0) break;
845 }
846 else
847 // user will have try again later, non blocking
848 ssl.SetError(YasslError(SSL_ERROR_WANT_READ));
849 }
850}
851
852
853// send client_hello, no buffering

Callers 3

receiveDataFunction · 0.85
SSL_connectFunction · 0.85
SSL_acceptFunction · 0.85

Calls 5

DoProcessReplyFunction · 0.85
YasslErrorEnum · 0.85
IsNonBlockingMethod · 0.80
GetErrorMethod · 0.45
SetErrorMethod · 0.45

Tested by

no test coverage detected