comparison src/http/modules/proxy/ngx_http_proxy_handler.c @ 370:54f76b0b8dca

nginx-0.0.7-2004-06-27-22:01:57 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 27 Jun 2004 18:01:57 +0000
parents 2e3cbc1bbe3c
children 744ccb59062d
comparison
equal deleted inserted replaced
369:9c2515d70489 370:54f76b0b8dca
706 706
707 if (p->state->expired == 0) { 707 if (p->state->expired == 0) {
708 *buf++ = '-'; 708 *buf++ = '-';
709 709
710 } else { 710 } else {
711 buf += ngx_snprintf((char *) buf, NGX_TIME_T_LEN, 711 buf += ngx_snprintf((char *) buf, TIME_T_LEN,
712 TIME_T_FMT, p->state->expired); 712 TIME_T_FMT, p->state->expired);
713 } 713 }
714 714
715 *buf++ = '/'; 715 *buf++ = '/';
716 716
717 if (p->state->bl_time == 0) { 717 if (p->state->bl_time == 0) {
718 *buf++ = '-'; 718 *buf++ = '-';
719 719
720 } else { 720 } else {
721 buf += ngx_snprintf((char *) buf, NGX_TIME_T_LEN, 721 buf += ngx_snprintf((char *) buf, TIME_T_LEN,
722 TIME_T_FMT, p->state->bl_time); 722 TIME_T_FMT, p->state->bl_time);
723 } 723 }
724 724
725 *buf++ = '/'; 725 *buf++ = '/';
726 726
750 750
751 if (p->state->reason < NGX_HTTP_PROXY_CACHE_XAE) { 751 if (p->state->reason < NGX_HTTP_PROXY_CACHE_XAE) {
752 *buf++ = '-'; 752 *buf++ = '-';
753 753
754 } else { 754 } else {
755 buf += ngx_snprintf((char *) buf, NGX_TIME_T_LEN, 755 buf += ngx_snprintf((char *) buf, TIME_T_LEN,
756 TIME_T_FMT, p->state->expires); 756 TIME_T_FMT, p->state->expires);
757 } 757 }
758 758
759 *buf++ = ' '; 759 *buf++ = ' ';
760 *buf++ = '*'; 760 *buf++ = '*';