Deleted
Added
nxt_http_request.c (1264:30b289d97479) | nxt_http_request.c (1265:01b50813093d) |
---|---|
1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <nxt_router.h> 8#include <nxt_http.h> --- 556 unchanged lines hidden (view full) --- 565 } 566 } 567 568 r->proto.any = NULL; 569 570 if (nxt_fast_path(proto.any != NULL)) { 571 protocol = r->protocol; 572 | 1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <nxt_router.h> 8#include <nxt_http.h> --- 556 unchanged lines hidden (view full) --- 565 } 566 } 567 568 r->proto.any = NULL; 569 570 if (nxt_fast_path(proto.any != NULL)) { 571 protocol = r->protocol; 572 |
573 nxt_mp_release(r->mem_pool); 574 | |
575 nxt_http_proto[protocol].close(task, proto, conf); | 573 nxt_http_proto[protocol].close(task, proto, conf); |
574 575 nxt_mp_release(r->mem_pool); |
|
576 } 577} 578 579 580static u_char * 581nxt_http_date_cache_handler(u_char *buf, nxt_realtime_t *now, struct tm *tm, 582 size_t size, const char *format) 583{ 584 return nxt_http_date(buf, tm); 585} | 576 } 577} 578 579 580static u_char * 581nxt_http_date_cache_handler(u_char *buf, nxt_realtime_t *now, struct tm *tm, 582 size_t size, const char *format) 583{ 584 return nxt_http_date(buf, tm); 585} |