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

Function SSL_peek

extra/yassl/src/ssl.cpp:1437–1441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1435
1436
1437int SSL_peek(SSL* ssl, void* buffer, int sz)
1438{
1439 Data data(min(sz, MAX_RECORD_SIZE), static_cast<opaque*>(buffer));
1440 return receiveData(*ssl, data, true);
1441}
1442
1443
1444int SSL_pending(SSL* ssl)

Callers 1

SSL_pendingFunction · 0.85

Calls 2

minFunction · 0.85
receiveDataFunction · 0.85

Tested by

no test coverage detected