From 4f0ff5bfb133cfe4f22644d745fb34b6b1f27ecb Mon Sep 17 00:00:00 2001 From: Tom Harwood Date: Sat, 1 Aug 2015 02:39:38 +0100 Subject: [PATCH] doc: fix a couple of links --- doc/sources/tutorial-server.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/sources/tutorial-server.rst b/doc/sources/tutorial-server.rst index 3d84b872..72cd362f 100644 --- a/doc/sources/tutorial-server.rst +++ b/doc/sources/tutorial-server.rst @@ -249,7 +249,7 @@ always consists of a SETTINGS frame. } In the example SETTINGS frame we've set -SETTINGS_MAX_CONCURRENT_STREAMS to 100. ``nghttp2_submit_settings()`` +SETTINGS_MAX_CONCURRENT_STREAMS to 100. `nghttp2_submit_settings()` is used to queue the frame for transmission, but note it only queues the frame for transmission, and doesn't actually send it. All functions in the ``nghttp2_submit_*()`` family have this property. To @@ -485,7 +485,7 @@ fully received:: First we retrieve the ``http2_stream_data`` object associated with the stream in ``on_begin_headers_callback()`` using -``nghttp2_session_get_stream_user_data()``. If the requested path +`nghttp2_session_get_stream_user_data()`. If the requested path cannot be served for some reason (e.g. file is not found), we send a 404 response using ``error_reply()``. Otherwise, we open the requested file and send its content. We send the header field