Searched refs:peek_len (Results 1 – 5 of 5) sorted by relevance
513 assert(!conn->peek_len); in read_ssl_chunk()517 conn->peek_len = bufs[i].cbBuffer-size; in read_ssl_chunk()518 memcpy(conn->peek_msg, (char*)bufs[i].pvBuffer+size, conn->peek_len); in read_ssl_chunk()551 *recvd = min( len, conn->peek_len ); in netconn_recv()553 conn->peek_len -= *recvd; in netconn_recv()556 if (conn->peek_len == 0) in netconn_recv()593 return conn->secure ? conn->peek_len : 0; in netconn_query_data_available()
128 size_t peek_len; member
61 size_t peek_len; member244 g_ssl->peek_len = bufs[i].cbBuffer-size; in read_ssl_chunk()245 memcpy(g_ssl->peek_msg, (char*)bufs[i].pvBuffer+size, g_ssl->peek_len); in read_ssl_chunk()401 size = min(length, g_ssl->peek_len); in tcp_recv()403 g_ssl->peek_len -= size; in tcp_recv()407 if (!g_ssl->peek_len) in tcp_recv()840 g_ssl->peek_len = 0; in tcp_disconnect()
393 netconn->peek_len = 0; in free_netconn()793 assert(!conn->peek_len); in read_ssl_chunk()797 conn->peek_len = bufs[i].cbBuffer-size; in read_ssl_chunk()798 memcpy(conn->peek_msg, (char*)bufs[i].pvBuffer+size, conn->peek_len); in read_ssl_chunk()843 size = min(len, connection->peek_len); in NETCON_recv()845 connection->peek_len -= size; in NETCON_recv()848 if(!connection->peek_len) { in NETCON_recv()
80 size_t peek_len; member