From 39a6a4c973dd378f1fad9d2514d7857fe491df4b Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Fri, 11 Aug 2017 18:04:04 +0300 Subject: Request body read state implemented. With specific timeout and buffer size settings. --- src/nginext/nxt_go_lib.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/nginext/nxt_go_lib.h') diff --git a/src/nginext/nxt_go_lib.h b/src/nginext/nxt_go_lib.h index 220fc9b3..b3a86be9 100644 --- a/src/nginext/nxt_go_lib.h +++ b/src/nginext/nxt_go_lib.h @@ -21,11 +21,10 @@ typedef uintptr_t nxt_go_request_t; int nxt_go_response_write(nxt_go_request_t r, void *buf, size_t len); -int nxt_go_request_read(nxt_go_request_t r, off_t off, void *dst, - size_t dst_len); +int nxt_go_request_read(nxt_go_request_t r, void *dst, size_t dst_len); -int nxt_go_request_read_from(nxt_go_request_t r, off_t off, void *dst, - size_t dst_len, void *src, size_t src_len); +int nxt_go_request_read_from(nxt_go_request_t r, void *dst, size_t dst_len, + void *src, size_t src_len); int nxt_go_request_close(nxt_go_request_t r); -- cgit