Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Handle connection timeout while initial request is in progress.

fixes #88
  • Loading branch information...
commit 951f7205bdc8bf0583f2d41866dae46c039297b8 1 parent e4da4b0
@pekim authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/connection.coffee
View
2  src/connection.coffee
@@ -103,6 +103,8 @@ class Connection extends EventEmitter
enter: ->
@sendInitialSql()
events:
+ connectTimeout: ->
+ @transitionTo(@STATE.FINAL)
data: (data) ->
@sendDataToTokenStreamParser(data)
message: (error) ->
Please sign in to comment.
Something went wrong with that request. Please try again.