From 3f59e4d37dd8ea5c98a3e18bbca8129715048134 Mon Sep 17 00:00:00 2001 From: whl739 Date: Thu, 21 Jun 2018 17:25:56 +0800 Subject: [PATCH] Nginx: hijack `shutdown`. Fix typo in previous commit. --- app/nginx-1.11.10/src/event/modules/ngx_ff_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/nginx-1.11.10/src/event/modules/ngx_ff_module.c b/app/nginx-1.11.10/src/event/modules/ngx_ff_module.c index d3123fe0..11e1e06c 100644 --- a/app/nginx-1.11.10/src/event/modules/ngx_ff_module.c +++ b/app/nginx-1.11.10/src/event/modules/ngx_ff_module.c @@ -451,7 +451,7 @@ shutdown(int sockfd, int how) { if(is_fstack_fd(sockfd)){ sockfd = restore_fstack_fd(sockfd); - return ff_close(sockfd); + return ff_shutdown(sockfd, how); } return SYSCALL(shutdown)(sockfd, how);