mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 06:35:32 +03:00
ignore dropped requests
This commit is contained in:
parent
fa314f414d
commit
66e2eb985e
16
vere/http.c
16
vere/http.c
@ -950,20 +950,26 @@ _http_respond(u3_hrep* rep_u)
|
|||||||
u3_hreq* req_u;
|
u3_hreq* req_u;
|
||||||
|
|
||||||
if ( !(htp_u = _http_serv_find(rep_u->sev_l)) ) {
|
if ( !(htp_u = _http_serv_find(rep_u->sev_l)) ) {
|
||||||
uL(fprintf(uH, "http: server not found: %x\r\n", rep_u->sev_l));
|
if ( (u3C.wag_w & u3o_verbose) ) {
|
||||||
|
uL(fprintf(uH, "http: server not found: %x\r\n", rep_u->sev_l));
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ( !(hon_u = _http_conn_find(htp_u, rep_u->coq_l)) ) {
|
if ( !(hon_u = _http_conn_find(htp_u, rep_u->coq_l)) ) {
|
||||||
uL(fprintf(uH, "http: connection not found: %x/%d\r\n",
|
if ( (u3C.wag_w & u3o_verbose) ) {
|
||||||
rep_u->sev_l,
|
uL(fprintf(uH, "http: connection not found: %x/%d\r\n",
|
||||||
rep_u->coq_l));
|
rep_u->sev_l,
|
||||||
|
rep_u->coq_l));
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ( !(req_u = _http_req_find(hon_u, rep_u->seq_l)) ) {
|
if ( !(req_u = _http_req_find(hon_u, rep_u->seq_l)) ) {
|
||||||
uL(fprintf(uH, "http: request not found: %x/%d/%d\r\n",
|
if ( (u3C.wag_w & u3o_verbose) ) {
|
||||||
|
uL(fprintf(uH, "http: request not found: %x/%d/%d\r\n",
|
||||||
rep_u->sev_l,
|
rep_u->sev_l,
|
||||||
rep_u->coq_l,
|
rep_u->coq_l,
|
||||||
rep_u->seq_l));
|
rep_u->seq_l));
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#if 0
|
#if 0
|
||||||
|
Loading…
Reference in New Issue
Block a user