Loïc Hoguin

Results 114 issues of Loïc Hoguin

The `Variants` header is a dictionary and in the current version of structured headers member names are `key` which only accepts lowercase letters: * https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-14#section-3.2 * https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-14#section-3.1.2

variants

Instead of calling `cow_hpack:init/0` they'd call the `/1` variant. The default MUST be lower than the protocol default otherwise things may not work. This doesn't apply to the decoder since...

Based on a recent discussion on httpbis. Confusion around websocket/WebSocket, it sounds like Cowboy should accept both for that particular case.

Here: https://github.com/ninenines/ranch/blob/master/src/ranch_acceptors_sup.erl#L93-L95

Currently we are using a hack and that's fine but should eventually be made better. See https://bugs.erlang.org/browse/ERL-757 for a short discussion on the topic.

OTP

A new TLV not currently implemented: https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt

Use this for tips on how to optimize the search. https://concuerror.com/news/tips.html

The performance seems to be equal as far as Cowboy is concerned, with a possible tiny improvement in the favor of maps. The code is smaller and the runtime introspection...

Stretch goal

https://github.com/rabbitmq/looking_glass Basically just adding a callback for LG that would give the relevant processes when you want to benchmark Ranch and/or connections started by Ranch.