From 6e8b907ae25a7a988abbcd7206b978028c36f47e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 18 Apr 2017 14:06:34 +0200 Subject: Pass the HTTP/2 switch_protocol event to stream handlers To accomplish this the code for sending the 101 response was moved to the cowboy_http2 module. --- doc/src/manual/cowboy_stream.asciidoc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/src/manual') diff --git a/doc/src/manual/cowboy_stream.asciidoc b/doc/src/manual/cowboy_stream.asciidoc index d332752..de4c8e0 100644 --- a/doc/src/manual/cowboy_stream.asciidoc +++ b/doc/src/manual/cowboy_stream.asciidoc @@ -18,6 +18,11 @@ Cowboy calls the stream handler for nearly all events related to a stream. Exceptions vary depending on the protocol. +Extra care must be taken when implementing stream handlers +to ensure compatibility. While some modification of the +events and commands is allowed, it is generally not a good +idea to completely omit them. + == Callbacks Stream handlers must implement the following interface: -- cgit v1.2.3