aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-04-05Update version to 2.7.3 in Makefile and app file2.7.3Stosh Fabricius
2019-04-05Add a prepare_tag target to help with releasingLoïc Hoguin
2019-04-03Don't use string:lowercase yet, not available in OTP-192.7.2Loïc Hoguin
2019-03-26:authority is not required by spec2.7.1Fredrik Enestad
2019-03-25Lowercase file extension in cow_mimetypesDavid.Gao
2019-03-25Make sure iolist split uses N lengthJosé Valim
The previous implementation would return "ok" under certain situations when more data could be fit into the buffer. By making "ok" explicitly mean length is 0, then we can simplify other parts of the codebase and fix a bug that could cause us to send less data then desired over the wire.
2018-11-16Cowlib 2.7.02.7.0Loïc Hoguin
2018-11-13Support uncompressed Websocket frames when deflate is enabledLoïc Hoguin
2018-11-12Add deflate options for Websocket compressionLoïc Hoguin
They allow the server to configure what it is willing to accept for the negotiated configuration (takeover and window bits).
2018-11-03Make cow_http_hd:parse_accept/1 lowercase charsetsLoïc Hoguin
Charsets are case insensitive. This is now in line with parse_accept_charset/1 and parse_content_type/1.
2018-10-30Fixes various client issues in cow_http2_machineLoïc Hoguin
2018-10-27Handle HTTP/2 timeouts in the state machineLoïc Hoguin
2018-10-26Add cow_http2:parse_sequence/1Loïc Hoguin
2018-10-26Introduce cow_http2_machine, an HTTP/2 state machineLoïc Hoguin
This is the result of a merge of the Cowboy and Gun HTTP/2 codes. It can probably do a little more but it's at a point where Cowboy works fine when using it so additional work will be done in other commits. The Gun code has not been switched to this module yet. I expect for example the PUSH_PROMISE code to fail at this point. This will be the next step.
2018-09-28Add support for SameSite cookiesECrownofFire
The SameSite cookie attribute has yet to appear in an official RFC, and until recently was exclusive to Chrome. However, Firefox has recently implemented it as well, so it seems prudent to support it.
2018-09-17Cowlib 2.6.02.6.0Loïc Hoguin
2018-09-17Add cow_http:parse_request_line/1Loïc Hoguin
2018-08-06Cowlib 2.5.12.5.1Loïc Hoguin
2018-08-06Export two cow_http types used by GunLoïc Hoguin
2018-08-06Fix typespecs causing Dialyzer errors in user projectsLoïc Hoguin
2018-08-03Cowlib 2.5.02.5.0Loïc Hoguin
2018-08-03Refactor some code to fix a Dialyzer warningLoïc Hoguin
2018-08-02Update Erlang.mkLoïc Hoguin
2018-08-02Fix parsing of lone id: lines in cow_sseLoïc Hoguin
2018-06-25Add building of SSE eventsLoïc Hoguin
2018-06-04Update copyrightsLoïc Hoguin
2018-06-04Remove the AUTHORS file, the info is in commitsLoïc Hoguin
2018-06-04Cowlib 2.4.02.4.0Loïc Hoguin
2018-05-18Add cow_http:status_to_integerLoïc Hoguin
2018-05-07Import cow_iolists from CowboyLoïc Hoguin
2018-05-07Add 103 early hints as a valid statusMark Madsen
2018-05-02Update Erlang.mkLoïc Hoguin
2018-04-30Cowlib 2.3.02.3.0Loïc Hoguin
2018-04-29Reject HEADERS/PRIORITY with streams depending on themselvesLoïc Hoguin
2018-04-29Accept infinity for some HTTP/2 SETTINGSLoïc Hoguin
max_concurrent_streams and max_header_list_size to be precise.
2018-04-25Fix http2 settings parsing when there's more dataTony Han
2018-04-25Prevent the HPACK configured_max_size from being droppedLoïc Hoguin
2018-04-23Add proper support for table size updatesLoïc Hoguin
2018-04-06Add the enable_connect_protocol HTTP/2 settingLoïc Hoguin
2018-03-28Cowlib 2.2.12.2.1Loïc Hoguin
2018-03-13Fix the parsing of the x-forwarded-for headerLoïc Hoguin
2018-03-05Cowlib 2.2.02.2.0Loïc Hoguin
2018-03-05The Websocket subprotocol tokens are case sensitiveLoïc Hoguin
As clarified in https://tools.ietf.org/html/rfc7936 the IANA registry only accepts case insensitive values for clarity's sake but the actual tokens are case sensitive.
2018-03-05Allow cookies without a valueJonathan Perret
Some cookies are seen in the wild consisting of just a name, without even a "=" char. This allows parsing them as if they were written "foo=", that is with an empty value. Commit amended to add a few more test cases.
2018-03-05Remove trailing whitespace from header valuesGustaf Sjoberg
Edited to add a test and use byte_size instead of size.
2018-03-05Add the 308 Permanent Redirect status codeLoïc Hoguin
2018-02-28Enable ci.erlang.mk only when CI_ERLANG_MK=1 is setLoïc Hoguin
This will avoid issues with other people's build systems.
2017-12-11Cowlib 2.1.02.1.0Loïc Hoguin
2017-11-28Add the 421 status code from HTTP/2Loïc Hoguin
2017-11-27Implement the building of h2 SETTINGS framesLoïc Hoguin