for httplib2, serialization or singleton?
I got a django web app where there is a httplib2 object used to do
HTTPS with client authentication connections to a apache server.
The problem is that for every request, my httplib2 object has to do a
SSL hand-shaking to apache, which is extremely slow.
I tried to save the httplib2 to the django's session but no luck.
Or anyone have any idea to build a singleton httplib2 object so as
long as the django is running, the object is there so it can be used
to do the HTTPS without re-connecting to apache?
thanks a lot
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home