Skip to content

Commit

Permalink
Increase host length of server info (#40)
Browse files Browse the repository at this point in the history
64 is too small, 256 should be enough

e.g. `313e5987718b346aaf83-f5e825270f29a84f7881423410384342.ssl.cf1.rackcdn.com`
  • Loading branch information
icodesign authored and breakwa11 committed Apr 30, 2017
1 parent 534366d commit be199d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/obfs/obfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define OBFS_HMAC_SHA1_LEN 10

typedef struct {
char host[64];
char host[256];
uint16_t port;
char *param;
void *g_data;
Expand Down

0 comments on commit be199d5

Please sign in to comment.