aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--src/cowboy_http_req.erl4
2 files changed, 2 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 9f9d89b..9a088c5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,4 @@ otp_release:
- R14B04
- R14B03
- R14B02
- - R14B01
- - R14B
script: "make tests"
diff --git a/src/cowboy_http_req.erl b/src/cowboy_http_req.erl
index cf1790f..057ea4d 100644
--- a/src/cowboy_http_req.erl
+++ b/src/cowboy_http_req.erl
@@ -554,8 +554,8 @@ compact(Req) ->
%% implementation to developers that needs low level access to the socket.
%%
%% It is preferred to use this in conjuction with the stream function support
-%% in `set_resp_body/2' if this is used to write a response body directly to
-%% the socket. This ensures that the response headers are set correctly.
+%% in `set_resp_body_fun/3' if this is used to write a response body directly
+%% to the socket. This ensures that the response headers are set correctly.
-spec transport(#http_req{}) -> {ok, module(), inet:socket()}.
transport(#http_req{transport=Transport, socket=Socket}) ->
{ok, Transport, Socket}.