mirror of
https://github.com/bettercap/bettercap
synced 2025-07-07 05:22:04 -07:00
fix: several improvements to the https.proxy module
This commit is contained in:
parent
723d99cf62
commit
f9f0f3d5b3
9 changed files with 308 additions and 29 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue