Browse Source

Add semaphores for subproxies

master
Con Kolivas 9 years ago
parent
commit
1e2e5bab7d
  1. 2
      src/generator.c

2
src/generator.c

@ -973,6 +973,8 @@ static proxy_instance_t *create_subproxy(ckpool_t *ckp, gdata_t *gdata, proxy_in
subproxy->pass = strdup(proxi->pass);
subproxy->parent = proxi;
subproxy->epfd = proxi->epfd;
cksem_init(&subproxy->cs.sem);
cksem_post(&subproxy->cs.sem);
return subproxy;
}

Loading…
Cancel
Save