I have this: SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /artist/show/12553 !!! write(): Broken pipe [pyutils.c line 101]
On Mon, Nov 8, 2010 at 5:26 PM, Roberto De Ioris <[email protected]> wrote: > > > It's a pretty simple 'proxy' > > > > Controller: > > > > class ProxyController(BaseController): > > > > def fetch(self): > > > > > > host = request.params.get('host') > > url_f = request.params.get('url') > > data = request.params.get('data') > > method = request.params.get('method') > > > > headers = {"Content-type": "application/x-www-form-urlencoded"} > > conn = httplib.HTTPConnection(host) > > if method == 'POST': > > conn.request(method, url_f, data, headers) > > else: > > conn.request(method, url_f+'?'+data) > > > > http_response = conn.getresponse() > > > > data = http_response.read() > > conn.close() > > > > return data > > > > > > > > > What error do you get ? > > Is there something in the uWSGI log ? > > > -- > Roberto De Ioris > http://unbit.it > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
