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

Class sess_match

extra/yassl/src/yassl_int.cpp:1770–1780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1768typedef STL::list<ThreadError>::iterator thr_iterator;
1769
1770struct sess_match {
1771 const opaque* id_;
1772 explicit sess_match(const opaque* p) : id_(p) {}
1773
1774 bool operator()(SSL_SESSION* sess)
1775 {
1776 if ( memcmp(sess->GetID(), id_, ID_LEN) == 0)
1777 return true;
1778 return false;
1779 }
1780};
1781
1782
1783THREAD_ID_T GetSelf()

Callers 2

lookupMethod · 0.85
removeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected