blaklites/fb — pull request #2 by horacioibrahim (2014-12-29 00:38:37+00:00)
Title: Contrib wrapper to keep connection ESTABLISHED

Hi @blaklites, I make an little adjustment in wiring.py file. The problem was that connection between client and graph.facebook is closed (TCP CLOSE_WAIT state). This require to reconnect with graph server.

This solution solve the problem as BadStatusLine or CannotSendRequest.

```
# Simulating problem...
import fb
...
facebook = fb.graph.api(token)
facebook.publish(actions...)
# After seconds or no...
# ... raise ...
# httplib.BadStatusLine: ''

# This to required a forced new connection
facebook = fb.graph.api(token)
```