]> git.the-white-hart.net Git - gemini/cbs-server.git/log
gemini/cbs-server.git
6 weeks agoUpdate CGI script dispatch
rs [Mon, 22 Dec 2025 00:26:52 +0000 (18:26 -0600)]
Update CGI script dispatch

* Adjust environment variables
* Use Popen.communicate to capture stdin/stderr on error return
* Log CGI script output on errors

6 weeks agoFix bug where CGI breaks with no client cert
rs [Sat, 20 Dec 2025 02:09:18 +0000 (20:09 -0600)]
Fix bug where CGI breaks with no client cert

This is a quick and dirty fix, but it gets the job done.

6 weeks agoCatch exception during handshake with client
rs [Sat, 20 Dec 2025 01:45:57 +0000 (19:45 -0600)]
Catch exception during handshake with client

When Lagrange doesn't yet trust the server's cert, it hangs up the
connection during the handshake phase, which causes OpenSSL to raise a
SysCallError.

Catch this, log it, and continue to serve normally afterwards.

6 months agoSend bytes instead of string production
rs [Fri, 11 Jul 2025 03:31:42 +0000 (22:31 -0500)]
Send bytes instead of string

7 months agoCheck privkey and tag to allow session resumption
Ryan [Tue, 24 Jun 2025 23:28:05 +0000 (18:28 -0500)]
Check privkey and tag to allow session resumption

3 years agoUse sendall() instead of send()
rs [Thu, 24 Feb 2022 07:23:58 +0000 (01:23 -0600)]
Use sendall() instead of send()

Images weren't being served up properly because there was too much data
for send() to get through before the connection was closed out from
under it.

3 years agoFill in some TLS-related CGI variables
rs [Mon, 21 Feb 2022 03:23:25 +0000 (21:23 -0600)]
Fill in some TLS-related CGI variables

3 years agoRefactor error handling
rs [Mon, 21 Feb 2022 01:57:53 +0000 (19:57 -0600)]
Refactor error handling

3 years agoImprove URL parsing and add rudamentary CGI calls
rs [Sun, 20 Feb 2022 23:05:37 +0000 (17:05 -0600)]
Improve URL parsing and add rudamentary CGI calls

3 years agoMove options from command line to config file
rs [Sun, 20 Feb 2022 02:31:45 +0000 (20:31 -0600)]
Move options from command line to config file

3 years agoInitial commit with existing code
rs [Sat, 19 Feb 2022 23:20:23 +0000 (17:20 -0600)]
Initial commit with existing code

3 years agoInitial commit
RyanSchuster [Sat, 19 Feb 2022 23:14:05 +0000 (17:14 -0600)]
Initial commit