jaeles-project / gospider

Gospider - Fast web spider written in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not works with proxy option when response is HTTP/2

klau5dev opened this issue · comments

commented

Hi!

There is a bug when using proxy option and the server response HTTP/2.
The crawling is immediately fail, and the debug message was this.

I used gospider -s {{MY INPUT DOMAIN}} --depth 3 -v -t 50 -c 3 -o result --proxy http://127.0.0.1:8080 --debug command.

[0007] DEBUG Error request: {{MY INPUT DOMAIN}} - Status code: 0 - Error: Get "{{MY INPUT DOMAIN}}": net/http: HTTP/1.x transport connection broken: malformed HTTP version "HTTP/2"

I think it's because of some modules version.