Closed deputinizer closed 2 years ago
Lol why use lint :sob:
Lint disallows this
and self
Also, stoppropaganda + db1000n authors should do some collab and on rewriting the whole thing in Rust.
These templates are not entirely necessary...
Probably fixed #528
Ok since @Arriven commited changes already, I'm closing due to merge conflicts.
maybe just rebase, I'm sure there isn't a lot of conflicts
Description
Performance fixes + HTTP 1.1 protocol fix.
Fixes
533
534
528
Type of change
Tested
Tested with pprof CPU profile (
svg
command).Logs
So i've added some more
dialing
debug (not in commits :smiley: ) Multiple HTTP requests on one connection proves that #534 is correctWith
resp.SkipBody = true
With
resp.SkipBody = false
As you can see
SkipBody == true
breaks the protocol and makes TLS handshakes constantly after every single HTTP request.Screenshots
tls.Config
decryption disappeared in CPU profile :shrug: (that's good actually :+1: )