changes SOCK_STREAM to SOCK_SEQPACKET
@@ -69,7 +69,7 @@ oidc_error_t ipc_init(struct connection* con, const char* env_var_name, int isSe
exit(EXIT_FAILURE);
}
- *(con->sock) = socket(AF_UNIX, SOCK_STREAM, 0);
+ *(con->sock) = socket(AF_UNIX, SOCK_SEQPACKET, 0);
if(*(con->sock) < 0) {
syslog(LOG_AUTHPRIV|LOG_ERR, "opening stream socket: %m");
oidc_errno = OIDC_ECRSOCK;
