From: Matthias F. <Mat...@st...> - 2007-06-22 22:41:23
|
Hello Ethan, hello list, testing around with multiline plugin output Hendrik and I found that the long plugin output in extinfo.cgi was cut around 2000 bytes. The reason for that restriction is a hardcoded buffer definition in function xsddefault_read_status_data: char input[2048]=""; I attached a small patch against xsddefault.c to replace '2048' with MAX_PLUGIN_OUTPUT_LENGTH. I would prefer this setting instead of MAX_INPUT_BUFFER because otherwise numerous buffer definitions will be extended and IMO the plugin output length will be likely the longer part in future. Kind regards, Matthias |