mirror of
https://github.com/openstf/stf
synced 2025-10-06 12:00:08 +02:00
Remove readable on end. Should prevent writes after FIN.
This commit is contained in:
parent
b519d604be
commit
b98193b3a2
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ util.inherits(ForwardHandler, events.EventEmitter)
|
|||
function DestHandler(id, conn, options) {
|
||||
function endListener() {
|
||||
conn.removeListener('drain', drainListener)
|
||||
writer.removeListener('readable', readableListener)
|
||||
this.emit('end')
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue