added http-server loopback backdoor
@@ -383,12 +383,24 @@ _http_req_dispatch(u3_hreq* req_u, u3_noun req)
u3_noun pox = _http_req_to_duct(req_u);
+ if ( c3y == req_u->hon_u->htp_u->lop ) {
+ u3_pier_plan(pox, u3nq(u3i_string("request-local"),
+ // XX automatically secure too?
+ //
+ req_u->hon_u->htp_u->sec,
+ u3nc(c3__ipv4,
+ u3i_words(1, &req_u->hon_u->ipf_w)),
+ req));
+
+ }
+ else {
u3_pier_plan(pox, u3nq(u3i_string("request"),
req_u->hon_u->htp_u->sec,
u3nc(c3__ipv4,
u3i_words(1, &req_u->hon_u->ipf_w)),
req));
}
+}
/* _http_hgen_dispose(): dispose response generator and buffers
*/
