Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-04-08 | Use maps for and improve options | Loïc Hoguin | |
The type option has been removed. The transport and protocols options can be used in its place. The transport_opts option can be used to specify transport options. The http_opts and spdy_opts options can be used to specify protocol specific options. The keepalive option is now a protocol specific option. Defaults depending on the port number have changed. Now only port 443 uses ssl by default, other ports use tcp. | |||
2015-03-30 | Merge branch 'fix-body-no-contentlength' of https://github.com/unix1/gun | Loïc Hoguin | |
2015-03-29 | Improve request code | Loïc Hoguin | |
The content-type and content-length alone indicate whether a body is present for request/4. The host header can now be overriden. A number of headers like transfer-encoding are automatically deleted from the list of headers we receive. SPDY also deletes connection, keep-alive and proxy-connection. SPDY now sends the port in the :host header. | |||
2015-03-29 | Fixes badarg when using gun:ws_upgrade/{2,3} | Loïc Hoguin | |
Websocket options are a map. | |||
2015-03-25 | Fix an undef crash with SPDY | Loïc Hoguin | |
2015-03-25 | Fix the order of stream references in gun_push message | Loïc Hoguin | |
Should be simpler if the original stream reference is at the same position in all messages. | |||
2015-03-12 | Update copyright years | Loïc Hoguin | |
2015-03-12 | Add initial Websocket support | Loïc Hoguin | |
All autobahntestsuite tests pass including the permessage-deflate compression tests. Some of the tests pass in a non-strict fashion. They are testing for protocol errors and expect events to happen in a particular order, which is not respected by Gun. Gun fails earlier than is expected due to concurrent processing of frames. The implementation when error occurs during handshake is probably a bit rough at this point. The documentation is also incomplete and/or wrong at this time, though this is the general state of the Gun documentation and will be resolved in a separate commit. | |||
2014-10-26 | Return body when content-length not specified | Unix1 | |
Per extend/gun#22 we need to return body until server closes connection when server doesn't specify content-length and transfer-encoding | |||
2014-07-14 | Fix bug with HTTP and keepalive | Loïc Hoguin | |
A linebreak was sometimes introduced in the middle of the request body. | |||
2014-06-10 | Don't close the connection on empty data in cow_http:handle/2 | Loïc Hoguin | |
This happens because handle/2 is actually a loop. | |||
2014-06-10 | Update transfer encoding code to current cowlib interface | Loïc Hoguin | |
2014-06-09 | Merge branch 'fix-keepalive-response' of git://github.com/unix1/gun | Loïc Hoguin | |
2014-06-09 | close when handling response with no streams for extend/gun#15 | Unix1 | |
2014-06-08 | continue after unexpected message for extend/gun#19 | Unix1 | |
2014-06-08 | handle messages from previous socket for extend/gun#19 | Unix1 | |
2014-06-06 | Merge branch 'fix-keepalive-schedule' of git://github.com/unix1/gun | Loïc Hoguin | |
2014-06-06 | cancel keepalive on retry per extend/gun#16 | Unix1 | |
2014-06-03 | Make sure the host value is of the correct type in open | Loïc Hoguin | |
2014-05-01 | Use cow_http_te for creating chunks | Loïc Hoguin | |
This way the issue fixed by the previous commit won't happen again. | |||
2014-04-30 | Fix chunked transfer-encoding for HTTP/1.1 | Loïc Hoguin | |
2014-04-29 | Add cowlib in the .app deps for release inclusion | Loïc Hoguin | |
2014-03-26 | Default to TCP if port 80 is given, otherwise SSL | Loïc Hoguin | |
2014-03-25 | Automatically calculate the content-length when possible in SPDY | Loïc Hoguin | |
2014-03-25 | Send the status as a number rather than a binary string in SPDY | Loïc Hoguin | |
2014-03-25 | Add gun:flush/1 to easily cleanup the mailbox | Loïc Hoguin | |
It can cleanup all messages from a pid, or just the ones from a specific stream. The latter is useful in combination with cancel/2. | |||
2014-03-25 | Fix handling of fin in gun_http | Loïc Hoguin | |
Thanks David Cartt for reporting it. | |||
2014-03-23 | Fix a bug where the buffer was dropped in one chunked decoding case | Loïc Hoguin | |
2014-03-23 | Fix crashes when Transport:setopts/2 returned an error | Loïc Hoguin | |
For some reason this only happened with SSL. I suppose the behavior is a little different from TCP. | |||
2014-03-23 | NPN isn't supported on R15 | Loïc Hoguin | |
We branch out and don't try to use NPN when the function ssl:negotiated_next_protocol/1 isn't exported. | |||
2014-03-21 | Update copyright years | Loïc Hoguin | |
2014-03-21 | Improve the HTTP/1.1 and HTTP/1.0 support | Loïc Hoguin | |
2014-03-21 | Change the error name when there has been too many retries | Loïc Hoguin | |
'gone' is more explicit than 'too_many_retries'. | |||
2014-03-21 | Add an interface to asynchronously wait for responses | Loïc Hoguin | |
The basic idea is that we do an async call and then optionally wait. If we already have a monitor for this connection, then we can reuse it across all await* calls, otherwise one is created automatically. | |||
2014-03-21 | Fix a ws_loop/1 call | Loïc Hoguin | |
2014-03-21 | Add a debug function to send raw data | Loïc Hoguin | |
2014-03-10 | Add gun_http | Loïc Hoguin | |
Support for HTTP/1.1 and compatibility with HTTP/1.0. | |||
2014-03-10 | Improve behavior when losing the connection | Loïc Hoguin | |
2014-03-10 | Fix the client_preferred_next_protocols option | Loïc Hoguin | |
Was due to incorrect documentation before R16B03. Thanks Ingela for finding it! | |||
2013-09-04 | Remove unneeded case blocks | Loïc Hoguin | |
2013-09-02 | Fix specs for headers | Loïc Hoguin | |
2013-09-02 | Fix a bug when streaming data | Loïc Hoguin | |
2013-09-02 | cow_spdy:split/1 only returns false on failure | Loïc Hoguin | |
2013-08-31 | Actually handle system messages instead of just dying | Loïc Hoguin | |
2013-08-29 | gun_error sends StreamRef, not StreamID | Loïc Hoguin | |
2013-08-29 | The gun_response message now says if data will follow | Loïc Hoguin | |
2013-08-27 | Add typespecs to the gun module | Loïc Hoguin | |
2013-08-26 | Add gun:open/2 | Loïc Hoguin | |
2013-08-26 | Sync message signature with documentation | Loïc Hoguin | |
2013-08-26 | Fix server pushed streams | Loïc Hoguin | |