Commit Graph

23 Commits

Author SHA1 Message Date
Adrien Marquès e7c84eddf8
refactor: semantic and idiomatic renames, fixes API changes 2021-06-16 00:04:09 +02:00
Adrien Marquès 9e69b66289
fix: use fmt.Errorf() %w verb for error wrapping 2021-06-15 22:13:36 +02:00
Adrien Marquès 6c47dbc38f
refactor: http/upgrade normalise files 2021-05-14 17:19:02 +02:00
Adrien Marquès db52cfd28f refactor: move to go modules and lint 2021-05-14 16:47:02 +02:00
Adrien Marquès 7fb4241187 go fmt/vet 2018-09-29 14:39:12 +02:00
Adrien Marquès a9986c3123 update structure according to proper go project 2018-09-29 14:36:47 +02:00
xdrm-brackets e56ff09fc8 add Host tests 2018-05-04 08:53:15 +02:00
xdrm-brackets dc510ad5d9 refactor upgrade.request + merge 'upgrade.reqline' + began tests 2018-05-04 08:41:40 +02:00
xdrm-brackets e9b66b87b7 BIGFIX (fuck it) 2018-05-02 22:39:09 +02:00
xdrm-brackets 4ec4dfd1d5 big update ! to fix 2018-05-01 22:14:35 +02:00
xdrm-brackets 5fcdc9ca70 do not return Sec-WebSocket-Accept in response if upgrade error (not read yet from Request) + StatusCode getter 2018-04-28 16:23:07 +02:00
xdrm-brackets 741a243f87 added upgrade.Request and Response getters for websocket routing (URI + protocol) 2018-04-26 23:26:20 +02:00
xdrm-brackets 5f88fede99 minmod + rename statusCode.'Explicit()' to 'Message()' 2018-04-26 11:05:08 +02:00
xdrm-brackets c4863e396b added http.reader maximum buffer check 2018-04-26 10:24:00 +02:00
xdrm-brackets a85e16e96a moved http.* into /internal | created upgrader interface in /upgrader 2018-04-25 21:51:53 +02:00
xdrm-brackets 08b73e87ad remove debug 2018-04-25 17:53:53 +02:00
xdrm-brackets 2edafff0f5 created alias for [][]byte (HeaderValue) for better readability 2018-04-25 17:00:51 +02:00
xdrm-brackets be8bfa012e [internal.http.reader] auto-correcting (no error raised) 2018-04-25 15:55:32 +02:00
xdrm-brackets ca472fb80c [internal.http.request] -> [internal.http.upgrade.request]
[http.upgrade.request] minmod
2018-04-25 15:54:15 +02:00
xdrm-brackets e3270318c2 [internal.http.request.parser.header] optimise: remove 'regexp' + some checks 2018-04-25 15:39:24 +02:00
xdrm-brackets e375de0f33 [internal.http.request.parser.header] multi-value header parser 2018-04-25 15:00:43 +02:00
xdrm-brackets 00e5698391 [internal.http.request.parser.reqlin] Request-Line parse with minimum memory space 2018-04-25 09:55:32 +02:00
xdrm-brackets 25879a3310 [cmd.gwstester] added sample code to test while developing [http.upgrade.request.private|public|types] http upgrade request parser beginning [internal.http.reader] http header parser working for now 2018-04-24 23:10:01 +02:00