fix: several improvements to the https.proxy module

This commit is contained in:
evilsocket 2018-01-14 19:34:15 +01:00
parent 723d99cf62
commit f9f0f3d5b3
9 changed files with 308 additions and 29 deletions

View file

@ -140,7 +140,7 @@ func (q *Queue) Send(raw []byte) error {
if q.active {
err := q.handle.WritePacketData(raw)
if err != nil {
if err == nil {
q.Sent += uint64(len(raw))
} else {
q.Errors += 1