projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed server crash when setting Access token while connected.
[umurmur.git]
/
src
/
client.h
diff --git
a/src/client.h
b/src/client.h
index 93487d9e0c59dc09645278502df9a9011fcee034..66bf7d8d9ad1bfc0ff4b8b95e4f6c0106c8dcc70 100644
(file)
--- a/
src/client.h
+++ b/
src/client.h
@@
-31,7
+31,6
@@
#ifndef CLIENT_H_45786678
#define CLIENT_H_45786678
#ifndef CLIENT_H_45786678
#define CLIENT_H_45786678
-#include <openssl/ssl.h>
#include <stdint.h>
#include <unistd.h> /* close() */
#include <sys/types.h>
#include <stdint.h>
#include <unistd.h> /* close() */
#include <sys/types.h>
@@
-47,8
+46,9
@@
#include "crypt.h"
#include "timer.h"
#include "pds.h"
#include "crypt.h"
#include "timer.h"
#include "pds.h"
+#include "ssl.h"
-#define BUFSIZE
2048
+#define BUFSIZE
8192
#define UDP_BUFSIZE 512
#define INACTICITY_TIMEOUT 15 /* Seconds */
#define MAX_CODECS 10
#define UDP_BUFSIZE 512
#define INACTICITY_TIMEOUT 15 /* Seconds */
#define MAX_CODECS 10
@@
-57,7
+57,7
@@
typedef struct {
int tcpfd;
typedef struct {
int tcpfd;
- SSL *ssl;
+ SSL
_handle_t
*ssl;
bool_t SSLready;
bool_t shutdown_wait;
cryptState_t cryptState;
bool_t SSLready;
bool_t shutdown_wait;
cryptState_t cryptState;
@@
-70,7
+70,7
@@
typedef struct {
int sessionId;
uint64_t key;
char *username;
int sessionId;
uint64_t key;
char *username;
- bool_t authenticated, deaf, mute;
+ bool_t
bUDP,
authenticated, deaf, mute;
char *os, *release;
uint32_t version;
int codec_count;
char *os, *release;
uint32_t version;
int codec_count;