I've created a Python-Flask app running on Openshift.com (that started out as a clone of https://github.com/ryanj/flask-postGIS). If a user stops the download of a file prematurely, the app crashes and throws a "Broken Pipe Error".
I've read [1], [2] that using the "gevent" library may help resolve/mitigate this issue. Even though I have added gevent into the "requirements.txt" and the "setup.py" files, when app.py runs, it still cannot find it, uses Flask, and I continue to run into the Broken Pipe error as described below.
What step/code am I missing that will allow this app to use gevent instead of flask?
install gevent with pip
pip install gevent