if (edg_wll_open(ctx,&connToUse)) return edg_wll_Error(ctx,NULL,NULL);
- edg_wll_connectionTryLock(ctx, connToUse);
+ // XXX: why??
+ // it is locked in edg_wll_open and even more I believe that it cannot be locked
+ // from unlocked pool !!
+ // edg_wll_connectionTryLock(ctx, connToUse);
switch (edg_wll_http_send(ctx,request,req_head,req_body,&ctx->connections->connPool[connToUse])) {
case ENOTCONN:
// sleep(3); //Just for testing
edg_wll_connectionUnlock(ctx, connToUse);
+
return 0;
err: