aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)Author
2018-08-06Make sse_SUITE work for older OTP versionsLoïc Hoguin
2018-08-06Rewrite the SSE suite using CowboyLoïc Hoguin
2018-06-04Update copyright yearsLoïc Hoguin
2018-06-03Rename gun_data and gun_sse to gun_data_h and gun_sse_hLoïc Hoguin
2018-06-03Change messages to gun_upgrade and gun_ws with stream referenceLoïc Hoguin
2017-12-16Add support for unix socketsmichael-coles
2017-12-14Silence export_all warningsLoïc Hoguin
2017-12-14Change the {gone, Reason} to {shutdown, Reason} plus small fixesLoïc Hoguin
The reason for this change is to avoid annoying supervisor logs when SASL logging is enabled.
2017-10-06Don't error out when the owner is gone normallyLoïc Hoguin
2017-09-02Fix gun_http2:handle/2 when goaway is receivedEduardo Gurgel
2017-08-14Allow an infinity keepalive value1.0.0-pre.4Loïc Hoguin
This disables the keepalive mechanism entirely.
2017-08-12Remove SPDY; document HTTP/2Loïc Hoguin
I just replaced "SPDY" with "HTTP/2" in the documentation. I suspect that's all that's needed, but if there's something off we can fix it later.
2017-08-11Add missing Websocket clause detecting owner is goneLoïc Hoguin
2017-08-11Fix testsLoïc Hoguin
2017-05-01Add gun:info/11.0.0-pre.3Loïc Hoguin
So far only for getting the socket ip and port on the local side. More values may be added later on.
2017-05-01Add transform_header_name http option.Gustaf Sjoberg
2017-05-01Add support for choosing a process to reply toAndrei Nesterov
2017-04-30Monitor owner and terminate when it diesJuan Facorro
2017-04-30Add missing gun_SUITE test suiteLoïc Hoguin
Forgot to commit it earlier. My bad!
2017-04-27Add content handlers and built-in SSE supportLoïc Hoguin
Content handlers are a chain of modules implementing callbacks that receive the body of responses and may modify it (for example for decompressing the content) or act upon it (like sending a message to the owner process. The gun_sse content handler module can be used to translate text/event-stream events on the fly and deliver them to the owner process as a {gun_sse...} message. This feature is currently not documented and is only tested against a public server. It requires an up to date Cowlib.
2016-05-27Initial HTTP/2 supportLoïc Hoguin
A number of things are not implemented, but this is enough to connect to Twitter and get a response sent back. It also currently doesn't have tests.
2015-08-16Fix a harmless typo in a testLoïc Hoguin
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-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-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-03-12Update copyright yearsLoïc Hoguin
2015-03-12Add initial Websocket supportLoï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-05-12Start/stop cowlib for tests, closes #4Josh Toft
2014-03-21Update copyright yearsLoïc Hoguin