#9857: URLfield with verify_exists hangs if given an unresponsive URL
---------------------------------+------------------------------------------
          Reporter:  aptiko      |         Owner:  nobody
            Status:  new         |     Milestone:        
         Component:  Forms       |       Version:  1.0   
        Resolution:              |      Keywords:        
             Stage:  Unreviewed  |     Has_patch:  1     
        Needs_docs:  0           |   Needs_tests:  0     
Needs_better_patch:  0           |  
---------------------------------+------------------------------------------
Changes (by aptiko):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 The patch that I submitted (works against both 1.0 and svn) adds a
 hardwired 10-second timeout. If there is no response after the timeout,
 the URL is considered broken. Although this is not ideal (it's
 indeterminable rather than broken), a loud failure is much better than a
 hang, and the user will understand immediately why Django thinks that the
 URL is broken because they'll test it in their web browser and see that it
 is unresponsive. This is much better than a hang or an Internal Server
 Error.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9857#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to