Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix client abort while cache storing for too fast disconnecting clients
  • Loading branch information
kyprizel committed Dec 8, 2013
commit 8f9770ad69226bf558d00bbbf92daf95ab20b128
4 changes: 4 additions & 0 deletions src/ngx_http_memc_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ ngx_http_memc_handler(ngx_http_request_t *r)

u->conf = &mlcf->upstream;

if (memc_cmd != ngx_http_memc_cmd_get) {
u->conf->ignore_client_abort = 1;
}

ctx = ngx_palloc(r->pool, sizeof(ngx_http_memc_ctx_t));
if (ctx == NULL) {
return NGX_HTTP_INTERNAL_SERVER_ERROR;
Expand Down