Skip to content

Panic in random moment #275

Open
Open
@byMonaco

Description

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x8 pc=0xaf2ef9]

goroutine 61875123 [running]:
[github.com/Noooste/azuretls-client.(*Session).initTransport.(*Session).initHTTP1.func1({0x10687e0](https://github.com/Noooste/azuretls-client.(*Session).initTransport.(*Session).initHTTP1.func1(%7B0x10687e0)?, 0x0?}, {0xc0cb1e1a08?, 0x7d9d11?}, {0xc10b5b9908, 0x12})
C:/Users/Bender/go/pkg/mod/github.com/!noooste/azuretls-client@v1.4.18/transport.go:33 +0x59
[github.com/Noooste/fhttp.(*Transport).customDialTLS(0xc07da9cc40](https://github.com/Noooste/fhttp.(*Transport).customDialTLS(0xc07da9cc40)?, {0xcbe208?, 0xc0d3928070?}, {0xbfff7b?, 0x73a677?}, {0xc10b5b9908?, 0x6d6a78?})
C:/Users/Bender/go/pkg/mod/github.com/!noooste/fhttp@v1.0.12/transport.go:1314 +0x4a
[github.com/Noooste/fhttp.(*Transport).dialConn(0xc0c18531e0](https://github.com/Noooste/fhttp.(*Transport).dialConn(0xc0c18531e0), {0xcbe208, 0xc0d3928070}, {{}, 0x0, {0xc2318c, 0x5}, {0xc10b5b9908, 0x12}, 0x0})
C:/Users/Bender/go/pkg/mod/github.com/!noooste/fhttp@v1.0.12/transport.go:1580 +0x3ee
[github.com/Noooste/fhttp.(*Transport).dialConnFor(0xc0c18531e0](https://github.com/Noooste/fhttp.(*Transport).dialConnFor(0xc0c18531e0), 0xc0967cbd90)
C:/Users/Bender/go/pkg/mod/github.com/!noooste/fhttp@v1.0.12/transport.go:1446 +0xb1
created by github.com/Noooste/fhttp.(*Transport).queueForDial in goroutine 3418
C:/Users/Bender/go/pkg/mod/github.com/!noooste/fhttp@v1.0.12/transport.go:1415 +0x3c9

In last version same problem, but i don't use last version bc it very slow. 1.5.0+ versions send 2 requests, but need send only one. U can also test it with Charles proxy or other proxy, like Fiddler.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions