Panic - runtime error: index out of range

(b2c) #1

I found these lines from the caddy access log.

109.234.153.131 27/May/2019:14:21:37 +0600 POST /azenv.php?auth=155894530109999&a=PC&i=1741506453&p=8080 6ms 25b https://best-proxies.ru/ Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0 bypass

27/May/2019:14:21:43 +0600 [PANIC //check.best-proxies.ru:80] /gopath/pkg/mod/github.com/mholt/caddy@v1.0.0/caddyhttp/httpserver/middleware.go:120 - runtime error: index out of range

109.234.153.132 27/May/2019:14:21:43 +0600 CONNECT / 0s 26b - - bypass

What’s wrong with it?

(Matt Holt) #2

Thanks for the report. Some client has made a malformed HTTP request to your server. I fixed this in https://github.com/mholt/caddy/commit/14a8ffedd8d424e39006fb5df62d8af005882f96.

2 Likes