Searched refs:psnd (Results 1 – 2 of 2) sorted by relevance
128 struct postponed_data * const psnd = &(conn->postponed[num]); in pre_receive_plain() local129 size_t bytestorecv = psnd->allocated_size - psnd->recv_size; in pre_receive_plain()137 (!psnd->buffer || bytestorecv)) { in pre_receive_plain()142 if(!psnd->buffer) { in pre_receive_plain()144 psnd->allocated_size = 2 * BUFSIZE; in pre_receive_plain()145 psnd->buffer = malloc(psnd->allocated_size); in pre_receive_plain()146 psnd->recv_size = 0; in pre_receive_plain()147 psnd->recv_processed = 0; in pre_receive_plain()149 psnd->bindsock = sockfd; /* Used only for DEBUGASSERT */ in pre_receive_plain()151 bytestorecv = psnd->allocated_size; in pre_receive_plain()[all …]
2860 struct postponed_data * const psnd = &(conn->postponed[num]); in conn_reset_postponed_data() local2861 if(psnd->buffer) { in conn_reset_postponed_data()2862 DEBUGASSERT(psnd->allocated_size > 0); in conn_reset_postponed_data()2863 DEBUGASSERT(psnd->recv_size <= psnd->allocated_size); in conn_reset_postponed_data()2864 DEBUGASSERT(psnd->recv_size ? in conn_reset_postponed_data()2865 (psnd->recv_processed < psnd->recv_size) : in conn_reset_postponed_data()2866 (psnd->recv_processed == 0)); in conn_reset_postponed_data()2867 DEBUGASSERT(psnd->bindsock != CURL_SOCKET_BAD); in conn_reset_postponed_data()2868 free(psnd->buffer); in conn_reset_postponed_data()2869 psnd->buffer = NULL; in conn_reset_postponed_data()[all …]