Commit Graph

25 Commits

Author SHA1 Message Date
xdrm-brackets dc510ad5d9 refactor upgrade.request + merge 'upgrade.reqline' + began tests 2018-05-04 08:41:40 +02:00
xdrm-brackets a31269118f BIG UPDATE; brand new code structure (1 public package) + read by chunks if needed 2018-05-03 19:31:09 +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 dcfdb3411a websocket frame parsing works + controller dispatch but have to be improved 2018-04-27 12:16:34 +02:00
xdrm-brackets b1d0a71dd5 add chunk reader for websocket 2018-04-27 08:48:19 +02:00
xdrm-brackets 756bbca0b1 updated GetMatch(uint) + add GetAllMatch() 2018-04-26 23:39:10 +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 1c06b81cae added default ws.frame types 2018-04-26 22:54:43 +02:00
xdrm-brackets c6112c9c74 Match() uses 'matchString()' and 'matchWildcards()' and now works as expected 2018-04-26 22:15:09 +02:00
xdrm-brackets d6a9411bb1 Match() partially works (have to check for optional parameters) + GetMatch() works as well 2018-04-26 15:01:18 +02:00
xdrm-brackets 63b5125e6c added [internal.uri.parser] for better real-time URI parsing 2018-04-26 13:03:44 +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 7db4d2ee1f added [internal.ws.frame] types (draft) 2018-04-25 22:24:27 +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