Changeset 583 for trunk/zoo-project
- Timestamp:
- Feb 13, 2015, 9:20:48 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_service_loader.c
r582 r583 726 726 map *di = getMap (request_inputs, "DataInputs"); 727 727 728 char *dataInputsKVP = getMapsAsKVP (inputs, cgiContentLength, 0); 729 char *dataOutputsKVP = getMapsAsKVP (outputs, cgiContentLength, 1); 728 // The required size for the dataInputsKVP and dataOutputsKVP buffers 729 // may exceed cgiContentLength, hence a 2 kb extension. However, a 730 // better solution would be to have getMapsAsKVP() determine the required 731 // buffer size before allocating memory. 732 char *dataInputsKVP = getMapsAsKVP (inputs, cgiContentLength + 2048, 0); 733 char *dataOutputsKVP = getMapsAsKVP (outputs, cgiContentLength + 2048, 1); 730 734 #ifdef DEBUG 731 735 fprintf (stderr, "DATAINPUTSKVP %s\n", dataInputsKVP);
Note: See TracChangeset
for help on using the changeset viewer.