---------------------------------------------------------------- BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> WHEN YOU POST, include all relevant version numbers, log files, and configuration files. Don't make us guess your problem!!! ---------------------------------------------------------------- I am sending this to both the JServ and Tomcat lists since mod_jserv is part of both projects. A customer of ours reported GPFs when running mod_jserv on windows. I tracked down the problem and have a fix to submit for it. In jserv_ajpv12.c there is the following call: len = (int) ap_bread(buffsocket, buffer, HUGE_STRING_LEN); The spec for ap_bread states that the return value is the number of bytes read or -1 if there was an error. The code currently doesn't check for this error response and simply calls ap_bwrite later with -1 for the length which results in a GPF on windows. To fix I added the following check after the call to ap_bread: if (len < 0) { return -1; } In looking at both the current JServ sources and the Tomcat 3.1 sources, both code lines have this problem. thanks, --Barry -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search Archives: <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/> Problems?: [EMAIL PROTECTED]