aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-08-31Use https instead of git for ranch and cowlib dependenciesRadek Slupik
This is compatible with Cowboy and doesn't require authentication with GitHub. Rebar and Mix do not automatically turn git:// into https://. Fixes #82
2015-08-17Fix compilation issueLoïc Hoguin
Oops!
2015-08-17Gun is developed for Erlang 18+Loïc Hoguin
2015-08-17Fix ssl:negotiated_next_protocol/1 is deprecated.Maxim Krentovskiy
2015-08-16Handle 204 responses properlyLoïc Hoguin
Thanks @petrohi for the initial patch.
2015-08-16Update apt-get before installing things in CILoïc Hoguin
2015-08-16Include user headers in HTTP/1 requestsLoïc Hoguin
Oops! Thanks everyone who reported/submitted patches.
2015-08-16Fix a harmless typo in a testLoïc Hoguin
2015-07-26Add CircleCILoïc Hoguin
2015-05-12Update erlang.mkLoïc Hoguin
2015-05-05Update to 1.0.0-pre.11.0.0-pre.1Loïc Hoguin
2015-05-03Add a missing Transfer-Encoding: chunked header in HTTPLoïc Hoguin
When we stream content we need to set this header manually from Gun.
2015-04-13One last SPDY test for todayLoïc Hoguin
2015-04-13More SPDY testsLoïc Hoguin
2015-04-13Fix timing issue in one of the testsLoïc Hoguin
2015-04-13Fix previous testLoïc Hoguin
Sigh.
2015-04-13Even more SPDY testsLoïc Hoguin
2015-04-13One more SPDY testLoïc Hoguin
2015-04-13One more SPDY testLoïc Hoguin
2015-04-13One more SPDY testLoïc Hoguin
2015-04-13Check that the connection is down after we send a GOAWAYLoïc Hoguin
2015-04-13Add another SPDY testLoïc Hoguin
2015-04-13Rename a few SPDY testsLoïc Hoguin
2015-04-13Fix previous SPDY testLoïc Hoguin
2015-04-13Add more SPDY testsLoïc Hoguin
One of the test is incomplete due to a missing window_update building function in cowlib.
2015-04-12Add a SPDY test and improve a few badstate messagesLoïc Hoguin
2015-04-12Add more SPDY testsLoïc Hoguin
2015-04-12Add more SPDY testsLoïc Hoguin
2015-04-12More and improved SPDY testsLoïc Hoguin
2015-04-12Improve existing spdy tests and add anotherLoïc Hoguin
2015-04-12Add more complex SPDY testsLoïc Hoguin
These new tests have the spdy_server send frames back.
2015-04-12Check we are connected using SPDY in the twitter_SUITELoïc Hoguin
2015-04-11Add initial spdy_SUITELoïc Hoguin
The tests will be written against a robot server, spdy_server, which parses and records all frames it receives. This robot server can later be enhanced to perform actions at specific times to send responses or simulate error conditions.
2015-04-10Add headers to gun_ws_upgrade messageLoïc Hoguin
Also improves the code and documentation about this message. It was incorrectly specified that a gun_ws_upgrade message could be sent on error; instead a gun_response is sent.
2015-04-10Add Websocket optionsLoïc Hoguin
Allow passing Websocket options through either open or ws_upgrade. Document ws_upgrade/4.
2015-04-10Document Websocket options in the manualLoïc Hoguin
2015-04-10Make Dialyzer happyLoïc Hoguin
2015-04-10Add functions await_up/{1,2,3} for sync openLoïc Hoguin
2015-04-09Remove outdated todosLoïc Hoguin
2015-04-09Add gun_up and gun_down messagesLoïc Hoguin
The flush(Pid) function was enhanced to also discard Websocket messages and the new up/down messages.
2015-04-09Fix checking of protocol optionsLoïc Hoguin
map:to_list -> maps:to_list Only call maps:to_list once.
2015-04-09Don't clear out the transport on connection retryLoïc Hoguin
Fixes an issue introduced in the previous commit that broke automatic reconnection. Thanks to Adrian Roe/Steve Strong for the report.
2015-04-08Use maps for and improve optionsLoï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-04-08Add .gitignoreLoïc Hoguin
2015-03-30Merge branch 'fix-body-no-contentlength' of https://github.com/unix1/gunLoïc Hoguin
2015-03-29Improve request codeLoï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-29Fixes badarg when using gun:ws_upgrade/{2,3}Loïc Hoguin
Websocket options are a map.
2015-03-28Clarify the await functions in the guideLoïc Hoguin
2015-03-27Update manualLoïc Hoguin
A number of @todo also remain in this document. The manual pages have been converted to Asciidoc and they can be installed system-wide using make install-docs. The asciidoc rules will be converted into an erlang.mk plugin in the near future.
2015-03-25Fix an undef crash with SPDYLoïc Hoguin