Stanislaw Halik | 27 Aug 06:07 2009

[patch] timeouts, take two

Hey Edi,

I made a new patch that uses TRIVIAL-TIMEOUT instead of usocket
WAIT-FOR-INPUT. Results are great, it yields no slowdown at all when
downloading a 10MB zero-filled file.

Patch follows. I can't attach files due to posting to Gmane through
tin(1) so it's included in the message body. If it gets mangled in the
transmission, it's alternatively available at

diff -rN -u old-drakma/drakma.asd new-drakma/drakma.asd
--- old-drakma/drakma.asd	2009-08-27 05:59:20.000000000 +0200
+++ new-drakma/drakma.asd	2009-08-27 05:59:20.000000000 +0200
 <at>  <at>  -53,10 +53,13  <at>  <at> 
                (:file "util")
                (:file "read")
                (:file "cookies")
+               #-lispworks (:file "timeouts")
                (:file "request"))
   :depends-on (:puri
+               #-lispworks #:trivial-timeout
+               #-lispworks #:trivial-gray-streams
                #-:lispworks :usocket
                #-(or :lispworks :allegro) :cl+ssl))
diff -rN -u old-drakma/request.lisp new-drakma/request.lisp
--- old-drakma/request.lisp	2009-08-27 05:59:20.000000000 +0200
(Continue reading)