Skip to content
This repository
Browse code

Update version to 0.6.0

Also update the CHANGELOG and copyright years.
  • Loading branch information...
commit 0c2e2224e372f01e6cf51a8e12d4856edb4cb8ac 1 parent 1a1b01c
Loïc Hoguin authored

Showing 32 changed files with 163 additions and 79 deletions. Show diff stats Hide diff stats

  1. +86 0 CHANGELOG.md
  2. +1 1  LICENSE
  3. +7 7 README.md
  4. +1 3 ROADMAP.md
  5. +2 2 doc/overview.edoc
  6. +1 1  include/http.hrl
  7. +2 2 src/cowboy.app.src
  8. +1 1  src/cowboy.erl
  9. +1 1  src/cowboy_acceptor.erl
  10. +1 1  src/cowboy_acceptors_sup.erl
  11. +1 1  src/cowboy_app.erl
  12. +1 1  src/cowboy_bstr.erl
  13. +1 1  src/cowboy_clock.erl
  14. +38 38 src/cowboy_dispatcher.erl
  15. +1 1  src/cowboy_http.erl
  16. +1 1  src/cowboy_http_handler.erl
  17. +1 1  src/cowboy_http_protocol.erl
  18. +1 1  src/cowboy_http_req.erl
  19. +1 1  src/cowboy_http_rest.erl
  20. +1 1  src/cowboy_http_websocket.erl
  21. +1 1  src/cowboy_http_websocket_handler.erl
  22. +1 1  src/cowboy_listener.erl
  23. +1 1  src/cowboy_listener_sup.erl
  24. +1 1  src/cowboy_protocol.erl
  25. +1 1  src/cowboy_requests_sup.erl
  26. +1 1  src/cowboy_ssl_transport.erl
  27. +1 1  src/cowboy_sup.erl
  28. +1 1  src/cowboy_tcp_transport.erl
  29. +1 1  test/dispatcher_prop.erl
  30. +2 2 test/http_SUITE.erl
  31. +1 1  test/proper_SUITE.erl
  32. +1 1  test/ws_SUITE.erl
86 CHANGELOG.md
Source Rendered
... ... @@ -1,6 +1,92 @@
1 1 CHANGELOG
2 2 =========
3 3
  4 +0.6.0
  5 +-----
  6 +
  7 +* Add multipart support
  8 +
  9 +* Add chunked transfer decoding support
  10 +
  11 + Done by reworking the body reading API. Now all the body
  12 + reading goes through the cowboy_http_req:stream_body/1
  13 + function. This function takes care of handling both the
  14 + Transfer-Encoding and the Content-Encoding, returning
  15 + properly decoded data ready for consumption.
  16 +
  17 +* Add fragmented websocket messages support
  18 +
  19 + Properly tested by the addition of the Autobahn websocket
  20 + test suite to our toolbox. All tests pass except a few
  21 + related to UTF-8 handling, as Cowboy does no checks on that
  22 + end at this point.
  23 +
  24 +* Add 'onrequest' and 'onresponse' hooks
  25 +
  26 + The first can be used for all the special cases you may have
  27 + that can't be dealt with otherwise. It's also pretty good for
  28 + writing access logs or rewriting URLs.
  29 +
  30 + The second can be used for logging errors or replacing error
  31 + pages, amongst others.
  32 +
  33 +* Add cowboy:get_protocol_options/1 and cowboy:set_protocol_options/2
  34 +
  35 + These functions allow for retrieving a listener's protocol options,
  36 + and for modifying them while the listener is running. This is
  37 + most useful to upgrade the dispatch list. The upgrade applies
  38 + to all the future connections.
  39 +
  40 +* Add the sockname/1 function to TCP and SSL transports
  41 +
  42 +* Improve SSL transport support
  43 +
  44 + Add support for specifying the ciphers. Add CA support. Make
  45 + specifying the password optional.
  46 +
  47 +* Add new HTTP status codes from RFC 6585
  48 +
  49 +* Add a 'file' option to cowboy_http_static
  50 +
  51 + This allows for mapping /folder/ paths to a /folder/index.html file.
  52 +
  53 +* Add the '*' catch all Content-Type for REST
  54 +
  55 +* Add {halt, Req, State} as a possible return value for REST
  56 +
  57 +* Add absolute URI support for requests
  58 +
  59 +* Add cowboy_http:x_www_form_urlencoded/2
  60 +
  61 +* Various REST bug fixes
  62 +
  63 +* Do not send chunked replies for HTTP/1.0 connections
  64 +
  65 +* Fix a DST bug in the cookies code
  66 +
  67 +* Fix a bug with setting cookie values containing slashes
  68 +
  69 +* Fix a small timer leak when using loop/websocket timeouts
  70 +
  71 +* Make charset and media type parsing more relaxed
  72 +
  73 + This is to accomodate some widely used broken clients.
  74 +
  75 +* Make error messages more readable
  76 +
  77 +* Fix and improve type specifications
  78 +
  79 +* Fix a bug preventing documentation from being generated
  80 +
  81 +* Small improvements to the documentation
  82 +
  83 +* Rework the HTTP test suite
  84 +
  85 + The suite now uses an integrated Cowboy HTTP client. The client
  86 + is currently experimental and shouldn't be used.
  87 +
  88 +* Add many many tests.
  89 +
4 90 0.4.0
5 91 -----
6 92
2  LICENSE
... ... @@ -1,4 +1,4 @@
1   -Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2
3 3 Permission to use, copy, modify, and/or distribute this software for any
4 4 purpose with or without fee is hereby granted, provided that the above
14 README.md
Source Rendered
@@ -157,28 +157,28 @@ based on the hostname and path information from the request. It also lets
157 157 you define static options for the handler directly in the rules.
158 158
159 159 To match the hostname and path, Cowboy requires a list of tokens. For
160   -example, to match the "dev-extend.eu" domain name, you must specify
161   -`[<<"dev-extend">>, <<"eu">>]`. Or, to match the "/path/to/my/resource"
  160 +example, to match the "ninenines.eu" domain name, you must specify
  161 +`[<<"ninenines">>, <<"eu">>]`. Or, to match the "/path/to/my/resource"
162 162 you must use `[<<"path">>, <<"to">>, <<"my">>, <<"resource">>]`. All the
163 163 tokens must be given as binary.
164 164
165 165 You can use the special token `'_'` (the atom underscore) to indicate that
166 166 you accept anything in that position. For example if you have both
167   -"dev-extend.eu" and "dev-extend.fr" domains, you can use the match spec
168   -`[<<"dev-extend">>, '_']` to match any top level extension.
  167 +"ninenines.eu" and "ninenines.fr" domains, you can use the match spec
  168 +`[<<"ninenines">>, '_']` to match any top level extension.
169 169
170 170 Finally, you can also match multiple leading segments of the domain name and
171 171 multiple trailing segments of the request path using the atom `'...'` (the atom
172 172 ellipsis) respectively as the first host token or the last path token. For
173   -example, host rule `['...', <<"dev-extend">>, <<"eu">>]` can match both
174   -"cowboy.bugs.dev-extend.eu" and "dev-extend.eu" and path rule
  173 +example, host rule `['...', <<"ninenines">>, <<"eu">>]` can match both
  174 +"cowboy.bugs.ninenines.eu" and "ninenines.eu" and path rule
175 175 `[<<"projects">>, '...']` can match both "/projects" and
176 176 "/projects/cowboy/issues/42". The host leading segments and the path trailing
177 177 segments can later be retrieved through `cowboy_http_req:host_info/1` and
178 178 `cowboy_http_req:path_info/1`.
179 179
180 180 Any other atom used as a token will bind the value to this atom when
181   -matching. To follow on our hostnames example, `[<<"dev-extend">>, ext]`
  181 +matching. To follow on our hostnames example, `[<<"ninenines">>, ext]`
182 182 would bind the values `<<"eu">>` and `<<"fr">>` to the ext atom, that you
183 183 can later retrieve in your handler by calling `cowboy_http_req:binding/{2,3}`.
184 184
4 ROADMAP.md
Source Rendered
@@ -61,14 +61,12 @@ are not ordered.
61 61 Tools like curl expect a 100 Continue before sending a
62 62 request body by default.
63 63
64   -* Convert the multipart code to stream_body.
65   -
66 64 * Complete the work on Websockets.
67 65
68 66 Now that the Autobahn test suite is available (make inttests),
69 67 we have a definite way to know whether Cowboy's implementation
70 68 of Websockets is right. The work can thus be completed. The
71   - remaining tasks are proper UTF8 handling.
  69 + remaining task is proper UTF8 handling.
72 70
73 71 * SPDY support.
74 72
4 doc/overview.edoc
... ... @@ -1,4 +1,4 @@
1   -@author Lo�c Hoguin <essen@dev-extend.eu>
2   -@copyright 2011 Lo�c Hoguin
  1 +@author Lo�c Hoguin <essen@ninenines.eu>
  2 +@copyright 2011-2012 Lo�c Hoguin
3 3 @version HEAD
4 4 @title Small, fast, modular HTTP server.
2  include/http.hrl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %% Copyright (c) 2011, Anthony Ramine <nox@dev-extend.eu>
3 3 %%
4 4 %% Permission to use, copy, modify, and/or distribute this software for any
4 src/cowboy.app.src
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
@@ -14,7 +14,7 @@
14 14
15 15 {application, cowboy, [
16 16 {description, "Small, fast, modular HTTP server."},
17   - {vsn, "0.5.0"},
  17 + {vsn, "0.6.0"},
18 18 {modules, []},
19 19 {registered, [cowboy_clock, cowboy_sup]},
20 20 {applications, [
2  src/cowboy.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  src/cowboy_acceptor.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  src/cowboy_acceptors_sup.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  src/cowboy_app.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  src/cowboy_bstr.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  src/cowboy_clock.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
76 src/cowboy_dispatcher.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %% Copyright (c) 2011, Anthony Ramine <nox@dev-extend.eu>
3 3 %%
4 4 %% Permission to use, copy, modify, and/or distribute this software for any
@@ -85,8 +85,8 @@ do_split_path(RawPath, Separator, URLDec) ->
85 85 %% corresponding token value and return it.
86 86 %%
87 87 %% The list of hostname tokens is reversed before matching. For example, if
88   -%% we were to match "www.dev-extend.eu", we would first match "eu", then
89   -%% "dev-extend", then "www". This means that in the context of hostnames,
  88 +%% we were to match "www.ninenines.eu", we would first match "eu", then
  89 +%% "ninenines", then "www". This means that in the context of hostnames,
90 90 %% the <em>'...'</em> atom matches properly the lower levels of the domain
91 91 %% as would be expected.
92 92 %%
@@ -173,16 +173,16 @@ split_host_test_() ->
173 173 {<<"">>, {[], <<"">>, undefined}},
174 174 {<<".........">>, {[], <<".........">>, undefined}},
175 175 {<<"*">>, {[<<"*">>], <<"*">>, undefined}},
176   - {<<"cowboy.dev-extend.eu">>,
177   - {[<<"cowboy">>, <<"dev-extend">>, <<"eu">>],
178   - <<"cowboy.dev-extend.eu">>, undefined}},
179   - {<<"dev-extend..eu">>,
180   - {[<<"dev-extend">>, <<>>, <<"eu">>],
181   - <<"dev-extend..eu">>, undefined}},
182   - {<<"dev-extend.eu">>,
183   - {[<<"dev-extend">>, <<"eu">>], <<"dev-extend.eu">>, undefined}},
184   - {<<"dev-extend.eu:8080">>,
185   - {[<<"dev-extend">>, <<"eu">>], <<"dev-extend.eu">>, 8080}},
  176 + {<<"cowboy.ninenines.eu">>,
  177 + {[<<"cowboy">>, <<"ninenines">>, <<"eu">>],
  178 + <<"cowboy.ninenines.eu">>, undefined}},
  179 + {<<"ninenines..eu">>,
  180 + {[<<"ninenines">>, <<>>, <<"eu">>],
  181 + <<"ninenines..eu">>, undefined}},
  182 + {<<"ninenines.eu">>,
  183 + {[<<"ninenines">>, <<"eu">>], <<"ninenines.eu">>, undefined}},
  184 + {<<"ninenines.eu:8080">>,
  185 + {[<<"ninenines">>, <<"eu">>], <<"ninenines.eu">>, 8080}},
186 186 {<<"a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z">>,
187 187 {[<<"a">>, <<"b">>, <<"c">>, <<"d">>, <<"e">>, <<"f">>, <<"g">>,
188 188 <<"h">>, <<"i">>, <<"j">>, <<"k">>, <<"l">>, <<"m">>, <<"n">>,
@@ -195,13 +195,13 @@ split_host_test_() ->
195 195
196 196 split_host_fail_test_() ->
197 197 Tests = [
198   - <<"dev-extend.eu:owns">>,
199   - <<"dev-extend.eu: owns">>,
200   - <<"dev-extend.eu:42fun">>,
201   - <<"dev-extend.eu: 42fun">>,
202   - <<"dev-extend.eu:42 fun">>,
203   - <<"dev-extend.eu:fun 42">>,
204   - <<"dev-extend.eu: 42">>,
  198 + <<"ninenines.eu:owns">>,
  199 + <<"ninenines.eu: owns">>,
  200 + <<"ninenines.eu:42fun">>,
  201 + <<"ninenines.eu: 42fun">>,
  202 + <<"ninenines.eu:42 fun">>,
  203 + <<"ninenines.eu:fun 42">>,
  204 + <<"ninenines.eu: 42">>,
205 205 <<":owns">>,
206 206 <<":42 fun">>
207 207 ],
@@ -233,14 +233,14 @@ split_path_test_() ->
233 233
234 234 match_test_() ->
235 235 Dispatch = [
236   - {[<<"www">>, '_', <<"dev-extend">>, <<"eu">>], [
  236 + {[<<"www">>, '_', <<"ninenines">>, <<"eu">>], [
237 237 {[<<"users">>, '_', <<"mails">>], match_any_subdomain_users, []}
238 238 ]},
239   - {[<<"dev-extend">>, <<"eu">>], [
  239 + {[<<"ninenines">>, <<"eu">>], [
240 240 {[<<"users">>, id, <<"friends">>], match_extend_users_friends, []},
241 241 {'_', match_extend, []}
242 242 ]},
243   - {[<<"dev-extend">>, var], [
  243 + {[<<"ninenines">>, var], [
244 244 {[<<"threads">>, var], match_duplicate_vars,
245 245 [we, {expect, two}, var, here]}
246 246 ]},
@@ -255,22 +255,22 @@ match_test_() ->
255 255 %% {Host, Path, Result}
256 256 Tests = [
257 257 {[<<"any">>], [], {ok, match_any, [], []}},
258   - {[<<"www">>, <<"any">>, <<"dev-extend">>, <<"eu">>],
  258 + {[<<"www">>, <<"any">>, <<"ninenines">>, <<"eu">>],
259 259 [<<"users">>, <<"42">>, <<"mails">>],
260 260 {ok, match_any_subdomain_users, [], []}},
261   - {[<<"www">>, <<"dev-extend">>, <<"eu">>],
  261 + {[<<"www">>, <<"ninenines">>, <<"eu">>],
262 262 [<<"users">>, <<"42">>, <<"mails">>], {ok, match_any, [], []}},
263   - {[<<"www">>, <<"dev-extend">>, <<"eu">>], [], {ok, match_any, [], []}},
264   - {[<<"www">>, <<"any">>, <<"dev-extend">>, <<"eu">>],
  263 + {[<<"www">>, <<"ninenines">>, <<"eu">>], [], {ok, match_any, [], []}},
  264 + {[<<"www">>, <<"any">>, <<"ninenines">>, <<"eu">>],
265 265 [<<"not_users">>, <<"42">>, <<"mails">>], {error, notfound, path}},
266   - {[<<"dev-extend">>, <<"eu">>], [], {ok, match_extend, [], []}},
267   - {[<<"dev-extend">>, <<"eu">>], [<<"users">>, <<"42">>, <<"friends">>],
  266 + {[<<"ninenines">>, <<"eu">>], [], {ok, match_extend, [], []}},
  267 + {[<<"ninenines">>, <<"eu">>], [<<"users">>, <<"42">>, <<"friends">>],
268 268 {ok, match_extend_users_friends, [], [{id, <<"42">>}]}},
269 269 {[<<"erlang">>, <<"fr">>], '_',
270 270 {ok, match_erlang_ext, [], [{ext, <<"fr">>}]}},
271 271 {[<<"any">>], [<<"users">>, <<"444">>, <<"friends">>],
272 272 {ok, match_users_friends, [], [{id, <<"444">>}]}},
273   - {[<<"dev-extend">>, <<"fr">>], [<<"threads">>, <<"987">>],
  273 + {[<<"ninenines">>, <<"fr">>], [<<"threads">>, <<"987">>],
274 274 {ok, match_duplicate_vars, [we, {expect, two}, var, here],
275 275 [{var, <<"fr">>}, {var, <<"987">>}]}}
276 276 ],
@@ -280,27 +280,27 @@ match_test_() ->
280 280
281 281 match_info_test_() ->
282 282 Dispatch = [
283   - {[<<"www">>, <<"dev-extend">>, <<"eu">>], [
  283 + {[<<"www">>, <<"ninenines">>, <<"eu">>], [
284 284 {[<<"pathinfo">>, <<"is">>, <<"next">>, '...'], match_path, []}
285 285 ]},
286   - {['...', <<"dev-extend">>, <<"eu">>], [
  286 + {['...', <<"ninenines">>, <<"eu">>], [
287 287 {'_', match_any, []}
288 288 ]}
289 289 ],
290 290 Tests = [
291   - {[<<"dev-extend">>, <<"eu">>], [],
  291 + {[<<"ninenines">>, <<"eu">>], [],
292 292 {ok, match_any, [], [], [], undefined}},
293   - {[<<"bugs">>, <<"dev-extend">>, <<"eu">>], [],
  293 + {[<<"bugs">>, <<"ninenines">>, <<"eu">>], [],
294 294 {ok, match_any, [], [], [<<"bugs">>], undefined}},
295   - {[<<"cowboy">>, <<"bugs">>, <<"dev-extend">>, <<"eu">>], [],
  295 + {[<<"cowboy">>, <<"bugs">>, <<"ninenines">>, <<"eu">>], [],
296 296 {ok, match_any, [], [], [<<"cowboy">>, <<"bugs">>], undefined}},
297   - {[<<"www">>, <<"dev-extend">>, <<"eu">>],
  297 + {[<<"www">>, <<"ninenines">>, <<"eu">>],
298 298 [<<"pathinfo">>, <<"is">>, <<"next">>],
299 299 {ok, match_path, [], [], undefined, []}},
300   - {[<<"www">>, <<"dev-extend">>, <<"eu">>],
  300 + {[<<"www">>, <<"ninenines">>, <<"eu">>],
301 301 [<<"pathinfo">>, <<"is">>, <<"next">>, <<"path_info">>],
302 302 {ok, match_path, [], [], undefined, [<<"path_info">>]}},
303   - {[<<"www">>, <<"dev-extend">>, <<"eu">>],
  303 + {[<<"www">>, <<"ninenines">>, <<"eu">>],
304 304 [<<"pathinfo">>, <<"is">>, <<"next">>, <<"foo">>, <<"bar">>],
305 305 {ok, match_path, [], [], undefined, [<<"foo">>, <<"bar">>]}}
306 306 ],
2  src/cowboy_http.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %% Copyright (c) 2011, Anthony Ramine <nox@dev-extend.eu>
3 3 %%
4 4 %% Permission to use, copy, modify, and/or distribute this software for any
2  src/cowboy_http_handler.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  src/cowboy_http_protocol.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %% Copyright (c) 2011, Anthony Ramine <nox@dev-extend.eu>
3 3 %%
4 4 %% Permission to use, copy, modify, and/or distribute this software for any
2  src/cowboy_http_req.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %% Copyright (c) 2011, Anthony Ramine <nox@dev-extend.eu>
3 3 %%
4 4 %% Permission to use, copy, modify, and/or distribute this software for any
2  src/cowboy_http_rest.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  src/cowboy_http_websocket.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  src/cowboy_http_websocket_handler.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  src/cowboy_listener.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  src/cowboy_listener_sup.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  src/cowboy_protocol.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %% Copyright (c) 2011, Michiel Hakvoort <michiel@hakvoort.it>
3 3 %%
4 4 %% Permission to use, copy, modify, and/or distribute this software for any
2  src/cowboy_requests_sup.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  src/cowboy_ssl_transport.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  src/cowboy_sup.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  src/cowboy_tcp_transport.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  test/dispatcher_prop.erl
... ... @@ -1,5 +1,5 @@
1 1 %% Copyright (c) 2011, Magnus Klaar <magnus.klaar@gmail.com>
2   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  2 +%% Copyright (c) 2011, Loïc Hoguin <essen@ninenines.eu>
3 3 %%
4 4 %% Permission to use, copy, modify, and/or distribute this software for any
5 5 %% purpose with or without fee is hereby granted, provided that the above
4 test/http_SUITE.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011-2012, Loïc Hoguin <essen@ninenines.eu>
2 2 %% Copyright (c) 2011, Anthony Ramine <nox@dev-extend.eu>
3 3 %%
4 4 %% Permission to use, copy, modify, and/or distribute this software for any
@@ -358,7 +358,7 @@ The document has moved
358 358 {400, "\n"},
359 359 {400, "Garbage\r\n\r\n"},
360 360 {400, "\r\n\r\n\r\n\r\n\r\n\r\n"},
361   - {400, "GET / HTTP/1.1\r\nHost: dev-extend.eu\r\n\r\n"},
  361 + {400, "GET / HTTP/1.1\r\nHost: ninenines.eu\r\n\r\n"},
362 362 {400, "GET http://proxy/ HTTP/1.1\r\n\r\n"},
363 363 {400, ResponsePacket},
364 364 {408, "GET / HTTP/1.1\r\n"},
2  test/proper_SUITE.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above
2  test/ws_SUITE.erl
... ... @@ -1,4 +1,4 @@
1   -%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
  1 +%% Copyright (c) 2011, Loïc Hoguin <essen@ninenines.eu>
2 2 %%
3 3 %% Permission to use, copy, modify, and/or distribute this software for any
4 4 %% purpose with or without fee is hereby granted, provided that the above

0 comments on commit 0c2e222

Please sign in to comment.
Something went wrong with that request. Please try again.