Reset the found flag before calling `process_hosted_request`, since this
will select another handler
@@ -370,6 +370,7 @@ void h2o_reprocess_request(h2o_req_t *req, h2o_iovec_t method, const h2o_url_sch
/* handle the response using the handlers, if hostconf exists */
if (req->overrides == NULL && (hostconf = find_hostconf(req->conn->hosts, req->authority, req->scheme->default_port)) != NULL) {
+ req->_found_handler = 0;
process_hosted_request(req, hostconf);
return;
}
