Fix proxy locking by adding volatile keyword to in_use

This commit is contained in:
2023-07-06 12:03:08 +02:00
parent b6c9d7330d
commit b7c8db01ac

View File

@ -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;