misc fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5100 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1f729f4afd
commit
493d66b832
6 changed files with 32 additions and 12 deletions
|
@ -3871,7 +3871,6 @@ qboolean FTENET_TCP_ParseHTTPRequest(ftenet_tcpconnect_connection_t *con, ftenet
|
|||
}
|
||||
else
|
||||
{
|
||||
qboolean fail = false;
|
||||
char acceptkey[20*2];
|
||||
unsigned char sha1digest[20];
|
||||
char *blurgh;
|
||||
|
@ -3918,6 +3917,8 @@ qboolean FTENET_TCP_ParseHTTPRequest(ftenet_tcpconnect_connection_t *con, ftenet
|
|||
if (!net_enable_webrtcbroker.ival)
|
||||
return false;
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
if (*arg[WCATTR_URL] == '/')
|
||||
|
@ -4010,6 +4011,7 @@ qboolean FTENET_TCP_ParseHTTPRequest(ftenet_tcpconnect_connection_t *con, ftenet
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_SSL
|
||||
static int QDECL TLSPromoteRead (struct vfsfile_s *file, void *buffer, int bytestoread)
|
||||
{
|
||||
if (bytestoread > net_message.cursize)
|
||||
|
@ -4019,6 +4021,7 @@ static int QDECL TLSPromoteRead (struct vfsfile_s *file, void *buffer, int bytes
|
|||
return bytestoread;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
void FTENET_TCPConnect_PrintStatus(ftenet_generic_connection_t *gcon)
|
||||
{
|
||||
ftenet_tcpconnect_connection_t *con = (ftenet_tcpconnect_connection_t*)gcon;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue