mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-24 08:04:11 +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', =>
|
||||
@setStatus(NylasLongConnection.Status.Connected)
|
||||
@closeIfDataStops()
|
||||
@_req.write("1")
|
||||
@_req.end()
|
||||
|
||||
|
||||
close: ->
|
||||
|
|
|
@ -151,7 +151,7 @@ class NylasLongConnection {
|
|||
this.closeIfDataStops()
|
||||
})
|
||||
})
|
||||
this._req.write("1")
|
||||
this._req.end()
|
||||
return this
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue