-- 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: 561a08cac03116bc77c898bb91dbef4eddbef7bc:
path_to:
revision_to:

git.thebackupbox.net

urcd

git://git.thebackupbox.net/urcd

commit 561a08cac03116bc77c898bb91dbef4eddbef7bc
Merge: fef16fa 996815c
Author: root <root@ip-10-56-75-16.(none)>
Date:   Tue Mar 5 22:27:59 2013 +0000

    Merge branch 'master' of git://1.1.5.69

diff --cc src/urcstream.pyx
index d633be1836de9ffb1426bfd2a72c31aa8f39b2cf,12dd9f0e326cfe58614211ba1ad5474752a734c1..2eb2de17f76e84fefa2f4dedb6d9f2b19d57642f
--- a/src/urcstream.pyx
+++ b/src/urcstream.pyx
@@@ -65,19 -65,19 +65,19 @@@ def server_poll()
      (256*len( client_POLLIN.poll(0)))
    ))

- n, buffer, afternl = int(), str(), str()
+ nl, buffer, afternl = int(), str(), str()

  while 1:
 -  if client_poll():
 +  if (client_poll() and limit()):

      # line protocols suck
-     n = 0
+     nl = 0
      for byte in afternl+os.read(rd,1024-len(afternl)):
-       if not n:
+       if not nl:
          buffer += byte
-         if byte == '\n': n = 1
+         if byte == '\n': nl = 1
        else: afternl += byte
-     if not n: sock_close(15,0)
+     if not nl: sock_close(15,0)

      for path in os.listdir(root):
        try:

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

-- Response ended

-- Page fetched on Sun Jun 2 16:33:35 2024