Hello,
I'm trying to use gluon.cache and @cache decorator in my web2py
application.
It works fine for decorating controller methods.
Now, I would like to use web2py cache in my modules :
@cache('fct1_key', time_expire=5, cache_model=cache.ram)
def my_function1(a, b, c):
#...
return 'somethin
Following Massimo's advice on my previous post on file upload with
rocket/ssl, I decided to give another try to cherokee/web2py.
Now I've got reliable ssl file uploads : 4 successful uploads of a 5
MB file (3 to 4 minutes transfer each).
This is a great forward step ;-)
But I still have a big iss
With your second alternative your browser needs to keep the Ajax
connexion open.
If the connection is closed what will happen to your thread ? I don't
master web2py internals but if the client it not there anymore, I
think the server could kill the server part of the connexion (so kill
your thread)
achable from a different browser/
> machine.
>
> It is also possible that sqlite was locking. Were you using sqlite?
>
> I do not know about rocket ssl support. Perhaps other users have
> advice.
>
> Massimo
>
> On Jan 3, 10:28 am, PhE wrote:
>
>
>
>
>
file? It is possible that the python ssl module cannot
> handle too large files because of a limited buffer (I have see this
> with python open-ssl before).
>
> This should not be a problem if you use apache for ssl.
>
> On Jan 3, 8:04 am, PhE wrote:
>
>
>
>
>
>
I got strange upload issues on my app. A simple form with an upload
field fails sometimes to upload the file. It works fine on my LAN but
fails on the Internet.
I focused it down to this reproducible scenario :
I install a clean web2py with an ssl certificate :
cd /var
wget http://www.web2py.com/
6 matches
Mail list logo