reset offset in read

main
phani 5 years ago
parent aa0017f4b0
commit 27b317116d

@ -111,6 +111,7 @@ sandbox_client_request_get(void)
#ifndef STANDALONE #ifndef STANDALONE
struct sandbox *curr = sandbox_current(); struct sandbox *curr = sandbox_current();
curr->rr_data_len = 0;
#ifndef USE_UVIO #ifndef USE_UVIO
int r = 0; int r = 0;
r = recv(curr->csock, (curr->req_resp_data), curr->mod->max_req_sz, 0); r = recv(curr->csock, (curr->req_resp_data), curr->mod->max_req_sz, 0);

Loading…
Cancel
Save