~jamestomasino

Mosfellsbær, Iceland

https://tomasino.org

Reading, writing, and arithmetic.

Recent activity

Re: Case sensitivity in hostnames for vhosts 3 years ago

From James Tomasino to ~sircmpwn/gmni-discuss

I've not touched C much in 20 years, but I grabbed the source thinking
this should be an
easy fix. "Proxy Request Refused" is response code 53. I see it defined
in the source as
GEMINI_STATUS_PROXY_REQUEST_REFUSED, but the only reference is in
serve.c where
the error message is "Refusing proxy to non-gemini URL". Based on the
code I would have
expected this to hit the "Protocol error: hostname does not match SNI"
block and given
a GEMINI_STATUS_BAD_REQUEST response instead of the 53 I'm seeing.

I'm guessing I'm just not following the logic as to what's going on
here. I'm sure it's an

Case sensitivity in hostnames for vhosts 3 years ago

From James Tomasino to ~sircmpwn/gmni-discuss

It appears that hostnames configured as virtual hosts with gmnisrv are
case-sensitive. Since DNS hostnames are case insensitive I would have
expected gmnisrv to lowercase-ify incoming requests prior to matching
the directives in the INI file.

To test this I attempted to load gemini://gopher.black (which uses
gmnisrv) and gemini://GOPHER.BLACK via a variety of clients. Some
clients handle lowercasifying the request on their end, but many do not.
Amfora is a good example. Use that returns either the correct gemini
site or Proxy Request Refused in the case of the capitalized version.

[PATCH v2] Demonstrate that I can use git send-email 3 years ago

From James Tomasino to ~sircmpwn/email-test-drive

---
 your-name | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 your-name

diff --git a/your-name b/your-name
new file mode 100644
index 0000000..66cb3d4
--- /dev/null
+++ b/your-name
@@ -0,0 +1 @@
I have successfully used git send-email!
-- 
2.25.1
[message trimmed]

[PATCH v2] Demonstrate that I can use git send-email 3 years ago

From James Tomasino to ~sircmpwn/email-test-drive

---
 your-name | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 your-name

diff --git a/your-name b/your-name
new file mode 100644
index 0000000..6d0ecfd
--- /dev/null
+++ b/your-name
@@ -0,0 +1 @@
I'm about to try git send-email
-- 
2.25.1
[message trimmed]

[PATCH] Demonstrate that I can use git send-email 3 years ago

From James Tomasino to ~sircmpwn/email-test-drive

---
 your-name | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 your-name

diff --git a/your-name b/your-name
new file mode 100644
index 0000000..6d0ecfd
--- /dev/null
+++ b/your-name
@@ -0,0 +1 @@
I'm about to try git send-email
-- 
2.25.1
[message trimmed]