Lines Matching refs:k
263 struct SingleRequest *k, in sendrecv_dl() argument
336 if(k->eos_written) /* already did write this to client, leave */ in sendrecv_dl()
352 if((k->keepon & KEEP_RECV_PAUSE) || !(k->keepon & KEEP_RECV)) in sendrecv_dl()
361 if((k->keepon & KEEP_SENDBITS) == KEEP_SEND) in sendrecv_dl()
365 if(((k->keepon & (KEEP_RECV|KEEP_SEND)) == KEEP_SEND) && in sendrecv_dl()
422 struct SingleRequest *k = &data->req; in Curl_sendrecv() local
448 if(k->keepon & KEEP_RECV) { in Curl_sendrecv()
449 result = sendrecv_dl(data, k, &didwhat); in Curl_sendrecv()
478 if(k->keepon) { in Curl_sendrecv()
480 if(k->size != -1) { in Curl_sendrecv()
485 k->bytecount, k->size); in Curl_sendrecv()
491 k->bytecount); in Curl_sendrecv()
502 if(!(data->req.no_body) && (k->size != -1) && in Curl_sendrecv()
503 (k->bytecount != k->size) && !k->newurl) { in Curl_sendrecv()
505 " bytes remaining to read", k->size - k->bytecount); in Curl_sendrecv()
516 if(0 == (k->keepon&(KEEP_RECVBITS|KEEP_SENDBITS))) in Curl_sendrecv()
787 struct SingleRequest *k = &data->req; in xfer_setup() local
813 k->getheader = getheader; in xfer_setup()
814 k->size = size; in xfer_setup()
815 k->shutdown = shutdown; in xfer_setup()
816 k->shutdown_err_ignore = shutdown_err_ignore; in xfer_setup()
822 if(!k->getheader) { in xfer_setup()
823 k->header = FALSE; in xfer_setup()
828 if(k->getheader || !data->req.no_body) { in xfer_setup()
831 k->keepon |= KEEP_RECV; in xfer_setup()
834 k->keepon |= KEEP_SEND; in xfer_setup()