Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is obviously not proper documentation. We will properly document
it when the API stabilizes.
|
|
We now read from the socket to be able to detect errors or TCP close
events, and buffer the data if any. Once the data receive goes over
a certain limit, which defaults to 5000 bytes, we simply close the
connection with an {error, overflow} reason.
|
|
Sends can be successful even if the connection is gone.
|
|
|
|
|
|
Also improves error reporting.
|
|
Thanks to grass on IRC for the heads up.
|
|
|
|
|
|
Fix #414
|
|
|
|
A pastebin type application that can optionally highlight the output as
both text and HTML.
|
|
|
|
Some web browsers will now prompt for user name and password
|
|
We now obtain the peer address before creating the Req object.
If an error occurs, then something went wrong, we close the connection
nicely directly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Make cowboy_router:compile/1 return to be consistent with current
implementation.
|
|
Reported by Michel Rijnders.
|
|
|
|
|
|
|
|
Conflicts:
src/cowboy_rest.erl
|
|
|
|
Basic HTTP authorization according to RFC 2617 is implemented.
Added an example of its usage with REST handler.
|
|
|
|
|
|
|
|
|
|
|