consistency check for existing stream and ownership failed second time around

This commit is contained in:
Ralph Metzler 2015-11-24 23:06:41 +01:00
parent 41c037118c
commit b3ec5429d4
1 changed files with 2 additions and 0 deletions

View File

@ -1949,12 +1949,14 @@ static int proc_setup(struct oscon *con)
send_error(con, 400); send_error(con, 400);
return -1; return -1;
} }
#if 0
if (con->session && con->session != str->session) { if (con->session && con->session != str->session) {
/* if we already have a session ID we /* if we already have a session ID we
have to be stream owner */ have to be stream owner */
send_error(con, 400); send_error(con, 400);
return -1; return -1;
} }
#endif
} }
if (!con->session) { if (!con->session) {
/* alloc new session */ /* alloc new session */