-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: urcd
action: commit
revision:
path_from:
revision_from: a4718c725ca64fad055d5618b192dc882a87209c:
path_to:
revision_to:

git.thebackupbox.net

urcd

git://git.thebackupbox.net/urcd

commit a4718c725ca64fad055d5618b192dc882a87209c
Author: root <root@d3v11.ano>
Date:   Tue Apr 30 03:48:22 2013 +0000

    [urcd][security] PING

diff --git a/src/urcd.pyx b/src/urcd.pyx

index e758abfed1ff6272b56008437dabec0842dafe51..

index ..fd42e87c6f085cca4040acedc803de84ec7c8ad4 100644

--- a/src/urcd.pyx
+++ b/src/urcd.pyx
@@ -154,10 +154,11 @@ while 1:

   else:

-    time.sleep(LIMIT)
+    server_revents(LIMIT*1000)

     buffer = str()
     while 1:
+      if not client_revents(0): sock_close(15,0)
       byte = try_read(rd,1)
       if byte == '': sock_close(15,0)
       if byte == '\n': break

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 14:50:56 2024