avida / webguy

My universal web server written in python
0 stars 0 forks source link

Radio related request return empty list after waiting a while. #3

Open avida opened 9 years ago

avida commented 9 years ago

Dirble module keeps connection alive to reuse it for later requests. As it epected it not their webserver would like so they periodivaly closing that connection, especially after some idleness. In that case python exception occures. In catch section exception are intercepted and connection reopen. To prevent endless retrying if something goes wrong, it return empty responce. I want this module to establish new connection w/o empty responces and strong against unpredictable situations.