mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-24 16:14:01 +08:00
Doing write on a GET is invalid. (#2004)
* Doing write on a GET is invalid * Doing write on a GET is invalid
This commit is contained in:
parent
33b88996b7
commit
78ea5c0c64
2 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ class NylasLongConnection
|
||||||
socket.on 'connect', =>
|
socket.on 'connect', =>
|
||||||
@setStatus(NylasLongConnection.Status.Connected)
|
@setStatus(NylasLongConnection.Status.Connected)
|
||||||
@closeIfDataStops()
|
@closeIfDataStops()
|
||||||
@_req.write("1")
|
@_req.end()
|
||||||
|
|
||||||
|
|
||||||
close: ->
|
close: ->
|
||||||
|
|
|
@ -151,7 +151,7 @@ class NylasLongConnection {
|
||||||
this.closeIfDataStops()
|
this.closeIfDataStops()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
this._req.write("1")
|
this._req.end()
|
||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue