laytan / odin-http

A HTTP/1.1 client/server implementation for Odin.
https://odin-http.laytan.dev/
MIT License
125 stars 13 forks source link

A connection crashed the server on Linux #60

Open Smilex opened 3 weeks ago

Smilex commented 3 weeks ago

[INFO ] --- [2024-09-15 15:54:55] [server.odin:501:onrline2()] request-line "\x16\x03\x01\x06\xd6\x01\x00\x06\xd2\x03\x03\x88\xc4\xd3\a\"\x1ev\u007f\u06afy(\xab(L\xa0)X\xe8R\x1c*b|\u0685\x11\xb6\xa8\xa5\xaf \xd3y\xe8b\x0f7[\x84+\xe0bW\aJ\x17\a\x84[YY\x80\xbf)\x19:\xd5]5\xe7\x83\xe0\x00 \xaa\xaa\x13\x01\x13\x02\x13\x03\xc0+\xc0/\xc0,\xc00\u0329\u0328\xc0\x13\xc0\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x06i\xfa\xfa\x00\x00\xfe\r\x00\xda\x00\x00\x01\x00\x01\xf6\x00 \xd3W\x90\u0651\xddL\x94\xad\xe1:)\x9b\xfa\xbfc\xd1gdI{\xf0p\x0f\xc7\va\x021T%\x00\xb0\xf5\x94\xf3\x9a\u007f\u0238l\xf9\xe4\xcc\xc2\u0088\xbf\xe5\xc7\xb3\xf1[\xf9H\xb7\xaa.\xdaQ\tk\xfc\xe4\xf2\xa4\x0f\xbf\x1eA\x05x\x05U\x02Gk\x11\xa5>\xc8;\xb3p\x1c]w@\x0e\e\xde\x01\x94/\x9f\u007fd\x96\x19\xd0\xf2v\xd1\xc4\x04=\xc3\xdd\xf7\xf8\xc3go\x93\xe0t\u0276\x90\x04i\xc6 \xc2n(|\x10J.\xa0M\"\u0162\xf3\xf5\u06c9\t\xb7\x94\xf5\u040b\xd5\xc5#mU\xbf\xce\xefK\xaa\u07a1\xbeNLO:B\x87\xe9F\xb5\xb6\x18i\xa2\x90\xedo\u0178WYT\xa1X{\xeb\xb6\x11mbò|\x8a\x19\xfa\xfc\x0f\xbeA\xa7F\xba\xaa@L\xe3C\xb8Di\x00\x05\x00\x03\x02h2\xff\x01\x00\x01\x00\x00+\x00\a\x06\xfa\xfa\x03\x04\x03\x03\x00-\x00\x02\x01\x01\x00\x00\x00\x12\x00\x10\x00\x00\ritjacobsen.dk\x00\r\x00\x12\x00\x10\x04\x03\b\x04\x04\x01\x05\x03\b\x05\x05\x01\b\x06\x06\x01\x003\x04\xef\x04\xedzz\x00\x01\x00c\x99\x04\xc0\f\x0f\xcd\u007f\xa2\xa2\x82\xe6f\xd5\xe5-\xb0\x91^\u0744e\xb7\x9eo/Y\x97\x88\xa63\u037c\v\x14t\xac\x13\xf57\xa6\x19S\x00t\xc0\x94\xa4:\xaad\x95%\xc5\xcab'A\"nY\x9aN\xb0 \xb7\xe3\x93!6a[d/\x92j\x19\xac \x99\xb2\x9c\xa8\xed\xd3'i\xe5\x9a\x1aPy\xb4\x03\x90Z5\xb2\x86\xce\xc9T\x1d\u6cdf\xbaB\x05\xba\xafF\x89\x96\xf0K\u007f\u03b0s\x03\x1a>]&\u007f\x9b\xd0|\x00\xb8#\xb6@A!F\x80\x15U&\xc1(Ylq\x87\x1f\xb4\x82s\x06\x1d\xbd\xe1C\x0f9F#)\x83\xdb\x01\xcf3y\x14{\x94\x1c\xe8*\xb1\x1e\xa6 \xe8\xb4\u007f\x0f\xc4<\xb3\xc4h9\x19@\xe0\xd1V/\x17V\u0148\x88\x17yt\xa5\xb5\x8f^\xbc\x17 \xa4\xab%\b\xcd\xd0!L\u0753f\x16\x87\x04[\t\x85\xbd@\\u0403ER\xe9\x10\xd7\xe2\x0e\xc8\xe2N\xee\xc3a\xadP\x89}\u040d\x8c\xa9pf\x19i\xdc\xe1=+r\xa4\x88(\xcb\xeb%\t\x96!/\x86aa\xe4\x13LsSF\u04e8\x97A\xd7 \xf2\xe6\xb8\xe7\u0673cg\(\x02\xc1\xc9\el\xb2@\x84\x98%\x9fN\xf3s!\U00a2670@\xab\xc2!a\xe9L\f\xc5B(\x16a\xc4{\xa9\x0f\x82i\xb1\xc4\u007f/ \xc4\xc1\x06-\x048\xbd}\tSg\x98NmR\xc5YzI~\xbaBhERT\xf9%,\xe0Y\xd3q9\xebs\v\x96\f\x06f\xe1\xa8\xd0\u0465\x86\x05" invalid method /root/test_concept/odin-http/response.odin(384:10) Invalid type assertion from Maybe($T=Requestline) to Requestline, actual type: nil Illegal instruction

laytan commented 3 weeks ago

Thanks, I will see if I can figure out what happened.