Tracking "Invalid session state zero"

This commit is contained in:
thorkill 2016-05-18 23:52:52 +02:00
parent 08eb93ff91
commit c6e34c3b8c

View file

@ -198,6 +198,9 @@ bool receive_meta(connection_t *c) {
}
if(c->protocol_minor >= 2) {
if (!c->sptps.state)
logger(DEBUG_ALWAYS, LOG_ERR, "Metadata socket should support sptps but state is zero! %s (%s)", c->name, c->hostname);
int len = sptps_receive_data(&c->sptps, bufp, inlen);
if(!len)
return false;