Fix proxy locking by adding volatile keyword to in_use
This commit is contained in:
@ -19,7 +19,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
unsigned char initialized:1, in_use:1;
|
volatile unsigned char initialized:1, in_use:1;
|
||||||
sock proxy;
|
sock proxy;
|
||||||
long cnx_s, cnx_e;
|
long cnx_s, cnx_e;
|
||||||
long http_timeout;
|
long http_timeout;
|
||||||
|
Reference in New Issue
Block a user