Searched refs:psnd (Results 1 – 2 of 2) sorted by relevance
138 struct postponed_data * const psnd = &(conn->postponed[sockindex]); in Curl_recv_has_postponed_data() local139 return psnd->buffer && psnd->allocated_size && in Curl_recv_has_postponed_data()140 psnd->recv_size > psnd->recv_processed; in Curl_recv_has_postponed_data()146 struct postponed_data * const psnd = &(conn->postponed[num]); in pre_receive_plain() local147 size_t bytestorecv = psnd->allocated_size - psnd->recv_size; in pre_receive_plain()155 (!psnd->buffer || bytestorecv)) { in pre_receive_plain()160 if(!psnd->buffer) { in pre_receive_plain()162 psnd->allocated_size = 2 * conn->data->set.buffer_size; in pre_receive_plain()163 psnd->buffer = malloc(psnd->allocated_size); in pre_receive_plain()164 if(!psnd->buffer) in pre_receive_plain()[all …]
669 struct postponed_data * const psnd = &(conn->postponed[num]); in conn_reset_postponed_data() local670 if(psnd->buffer) { in conn_reset_postponed_data()671 DEBUGASSERT(psnd->allocated_size > 0); in conn_reset_postponed_data()672 DEBUGASSERT(psnd->recv_size <= psnd->allocated_size); in conn_reset_postponed_data()673 DEBUGASSERT(psnd->recv_size ? in conn_reset_postponed_data()674 (psnd->recv_processed < psnd->recv_size) : in conn_reset_postponed_data()675 (psnd->recv_processed == 0)); in conn_reset_postponed_data()676 DEBUGASSERT(psnd->bindsock != CURL_SOCKET_BAD); in conn_reset_postponed_data()677 free(psnd->buffer); in conn_reset_postponed_data()678 psnd->buffer = NULL; in conn_reset_postponed_data()[all …]