Dr. Neal Krawetz

Results 36 comments of Dr. Neal Krawetz

> Can you be more specific? I added to my Caddyfile a handler for some non-PHP code. ``` respond /server/caddy "Caddy" 200 handle /server/help { cgi /* /home/caddy/test/server-help.sh } respond...

Hi @francislavoie, I added in cgi (aksdb/caddy-cgi/v2) after noticing the PHP hanging problem. I wanted to see if the problem was specific to PHP or whether it impacts anything else....

@francislavoie It acts like a race condition, so I definitely think you're onto something.

1. I cannot get it to hang if debug is enabled. 2. I added some timeouts to the php socket connection. So far, it isn't hanging. (I'm hoping that these...

A followup to my previous comment. When the link from Caddy to php-fpm fails, Caddy returns a 502 error code. We ran a high volume test that usually triggers the...

@francislavoie According to the docs, the default timeout is 0 (no timeout). I think that might be part of the cause for the hang. When I set it to 10s,...

@francislavoie A few things: 1. With debug, it never hangs. 2. Without debug and default timeouts (0=none), it hangs under a high load when PHP-FPM cycles workers. 3. Without debug...

I've been playing with the various timeouts. I think the problem is with both dial_timeout and read_timeout. With caddy v2.4.6, they default to "0" (no timeout). I set dial_timeout to...

I found another example that doesn't contain personal information: https://fotoforensics.com/analysis.php?id=a1900c7f2e297eac075dc3efb893ae1822025eec.17895&fmt=orig

This fix works (changing uint32_t to int32_t). Can someone add this to the main branch?