Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

close connection if there are no pending requests, closes #184

  • Loading branch information...
commit 494615ec214add43e6ded6ab0b65841bbaffc351 1 parent 8e20ecf
Ilya Grigorik authored March 31, 2012

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  lib/em-http/http_connection.rb
2  lib/em-http/http_connection.rb
@@ -184,6 +184,8 @@ def unbind(reason)
184 184
         rescue EventMachine::ConnectionError => e
185 185
           @clients.pop.close(e.message)
186 186
         end
  187
+      else
  188
+        @conn.close_connection
187 189
       end
188 190
     end
189 191
     alias :close :unbind

0 notes on commit 494615e

Please sign in to comment.
Something went wrong with that request. Please try again.