diff --git a/doc/sources/libnghttp2_asio.rst b/doc/sources/libnghttp2_asio.rst index e358399a..a63f1a60 100644 --- a/doc/sources/libnghttp2_asio.rst +++ b/doc/sources/libnghttp2_asio.rst @@ -145,6 +145,8 @@ Server push is also supported. if(req->path() == "/my.css") { res->write_head(200); res->end(file_reader("my.css")); + + return; } res->write_head(404);