Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Kirkland, Illinois, law forbids bees to fly over the village or through any of its streets.


dovenet / Synchronet Programming / 3rdp/build/cl-read-timeout-every-time.patch src/sbbs3/websrvr.c

SubjectAuthor
o 3rdp/build/cl-read-timeout-every-time.patch src/sbbs3/websrvr.cDeuc?

1
3rdp/build/cl-read-timeout-every-time.patch src/sbbs3/websrvr.c

<65C672E5.48775.syncprog@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=2794&group=DOVE-Net.Synchronet_Programming#2794

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: deuc?@VERT (Deuc?)
To: Git commit to main/sbbs/master
Subject: 3rdp/build/cl-read-timeout-every-time.patch src/sbbs3/websrvr.c
Message-ID: <65C672E5.48775.syncprog@vert.synchro.net>
Date: Fri, 9 Feb 2024 10:45:57 -0800
X-Comment-To: Git commit to main/sbbs/master
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Programming
X-FTN-PID: Synchronet 3.20a-Linux master/06844588c Feb 8 2024 GCC 12.2.0
X-FTN-MSGID: 48775.syncprog@1:103/705 2a2c676c
X-FTN-CHRS: CP437 2
WhenImported: 20240209104557-0800 41e0
WhenExported: 20240209154814-0800 41e0
ExportedFrom: VERT syncprog 48775
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Deuc? - Fri, 9 Feb 2024 18:45 UTC

https://gitlab.synchro.net/main/sbbs/-/commit/35da527b33782ebc669c90b2
Modified Files:
3rdp/build/cl-read-timeout-every-time.patch src/sbbs3/websrvr.c
Log Message:
Proper fix for wiki edit failures.

The patch that sets the read timeout every time for getData() was
flawed, because getData() itself will sometimes set the read timeout
for the next call.

The patch was intended to ensure that the write timeout never
clobbers the read timeout, so now we track if getData() explicitly
set the timeout and if it did, we don't reset it.

---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor