Open ProjectMutilation opened 1 month ago
I don't think this is a problem, because server->replication can only be set to a non-zero value if client
is non-null. But I agree that is not super obvious. I think this would benefit from a comment, or an explicit check. Feel free to create a PR for that.
src/proto.c - bool send_startup_packet()
Maybe I'm wrong and server-> replication is always NULL at the input