Fix: The bytes to/from the ICAP server may not logged correctly on 32bit systems
A simple long int (doint/outint) used to log bytes sent/received to/from
the ICAP server, ICAP requests with very large http objects will not
logged correctly. Use int64_t (dooff/outoff) instead
break;
case LFT_ICAP_BYTES_SENT:
- outint = al->icap.bytesSent;
- doint = 1;
+ outoff = al->icap.bytesSent;
+ dooff = 1;
break;
case LFT_ICAP_BYTES_READ:
- outint = al->icap.bytesRead;
- doint = 1;
+ outoff = al->icap.bytesRead;
+ dooff = 1;
break;
case LFT_ICAP_REQ_HEADER: