Why Nostr? What is Njump?
2025-02-09 11:57:40

Nicolas Martyanoff on Nostr: If you're writing a socket and get EPIPE (in Go that would be an op.SyscallError ...

If you're writing a socket and get EPIPE (in Go that would be an op.SyscallError value with Err set to syscall.EPIPE), the connection is down. When that happens for FastCGI connections in Boulevard, I try to reconnect and write again (once of course). This is a simple way to deal with FastCGI servers restarting without clients being affected.
Author Public Key
npub1dkg70vzk4vvfsc5cup9gkfu2tcrs5unysl7npfvegf78nkuswr5skh54dt