nervuri commented on issue solderpunk/molly-brown#35
Timeouts> I'm starting to wonder how much utility this approach really provides. It raises the bar, as you said. It's also simple to implement, has no performance penalty and is a fine default - Molly…
1 week ago
nervuri commented on issue solderpunk/molly-brown#35
TimeoutsInteresting. After conn.Close(), the server keeps sending data that was written to the buffer, but only if [SetLinger](https://pkg.go.dev/net#TCPConn.SetLinger) is enabled. So I guess you can…
2 weeks ago
nervuri pushed to master at nervuri/trust-store-generators
-
a6ea882c2f output execution duration for each script
2 weeks ago
nervuri commented on issue solderpunk/molly-brown#35
Timeouts> Never mind, I have now actually read your earlier comments in their entirety and see where you explicitly explained why you wanted to wait for the deadline to expire. Sorry for my inattentiveness…
2 weeks ago
nervuri commented on issue solderpunk/molly-brown#35
Timeouts> I seem to remember that dialup circa 2000 was a little faster than 1KB/s, at least on most nights. I wished. But, yes, I hear it was better for others. > Hmm? If we aren't chunking the…
2 weeks ago
nervuri commented on issue solderpunk/molly-brown#35
Timeouts> I guess I will try the approach of, by default, setting a single write deadline with a time derived from the filesize and a slow download rate of 1KB/s 1 KB/s is what I had on dial-up around…
2 weeks ago
nervuri commented on issue solderpunk/molly-brown#35
Timeouts> But only the read deadline can be extended after it passes, not the write deadline - not sure if it's a bug or if I'm doing something wrong. It turns out that the write deadline *can* be…
2 weeks ago
nervuri commented on issue solderpunk/molly-brown#35
Timeouts@makeworld: Thanks for catching that! Another problematic case is that of CGI scripts keeping a connection open for streaming output - the deadline needs to be updated after each write. @solde…
2 weeks ago
nervuri pushed to master at nervuri/client-hello-mirror
-
cfcbbb0962 add proper read & write timeouts
-
0a124def84 explicitly make minimum TLS version = 1.0
-
2eedb5537f add comments to explain prefixConn
-
72b3259428 move HTML and gemtext to separate files
-
c611d46b4f output errors to stderr
- Compare 5 commits »
3 weeks ago
nervuri commented on issue solderpunk/molly-brown#16
Support CGI in a secure wayI had a look at at commit 4e6a8fcd05e94686925b4294716cf4b4fac92898. I'll just point out two things: 1. Don't forget to set the primary and supplementary groups (setgid and setgroups). Molly…
1 month ago
nervuri pushed to master at nervuri/client-hello-mirror
-
e311a94e98 update installation instructions
1 month ago
nervuri pushed to master at nervuri/client-hello-mirror
-
0f48c7479f improve drop root code and move it to a separate file
1 month ago
nervuri pushed to master at nervuri/client-hello-mirror
-
8cf7b02e1b improve drop root code; remove reliance on C
-
da4f262454 add go.mod and go.sum
-
a37d9a5198 clarify peek() code
- Compare 3 commits »
2 months ago