Permalink
Browse files

Some more cleanup

  • Loading branch information...
1 parent a41a7ff commit 74500dff0712604f1bd86e049890c44f92f7bed1 @carllerche carllerche committed Feb 23, 2011
Showing with 10 additions and 11 deletions.
  1. +10 −11 lib/kirk/client/exchange.rb
@@ -125,18 +125,17 @@ def onResponseStatus(version, status, reason)
response.status = status
end
- # def onRetry
- # # p [ :onRetry ]
- # if handler.respond_to?(:on_retry)
- # handler.on_retry
- # end
- # super
- # end
+ def onRetry
+ if handler.respond_to?(:on_retry)
+ handler.on_retry
+ end
- # def onSwitchProtocol(end_point)
- # # p [ :onSwitchProtocol ]
- # # What is this exactly?
- # end
+ super
+ end
+
+ def onSwitchProtocol(end_point)
+ # What is this exactly?
+ end
private

0 comments on commit 74500df

Please sign in to comment.