Weechat: WebSockets broken because header fields treated case-sensitive

Created on 10 Jan 2017  路  4Comments  路  Source: weechat/weechat

RFC 2616 says that header fields are not case-sensitive. Unfortunately, weechat is treating them case-sensitive. This is causing web servers like Caddy to fail making WebSocket connections to weechat. Rather than break spec/convention in Caddy (and create more code and complexity to maintain), I'd rather like to see weechat treat header fields case-insensitively.

bug

Most helpful comment

@flashcode Had some issues getting it to build but that's all sorted now and I can confirm that the fix is working for me with a vanilla version of Caddy. Thanks a lot.

All 4 comments

Thank you!!

Thanks a lot for your quick work here @flashcode!

You're welcome, I hope the fix is working fine (if not please ping me quickly so I can fix before the next release).

@flashcode Had some issues getting it to build but that's all sorted now and I can confirm that the fix is working for me with a vanilla version of Caddy. Thanks a lot.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DemiMarie picture DemiMarie  路  7Comments

offbyone picture offbyone  路  4Comments

ddan39 picture ddan39  路  6Comments

FedericoCeratto picture FedericoCeratto  路  6Comments

emmanuelbernard picture emmanuelbernard  路  8Comments