httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierpaolo Fumagalli" <ian...@iname.com>
Subject [PATCH] About PR#2467
Date Mon, 22 Jun 1998 19:57:34 GMT
I posted PR#2467 since apache (in my environment - WinNT ) does not cleanup
the pconf pool when exiting...
This creates me some problems since in mod_jserv.c (the new module for
Java-Apache JServ 0.10.1) the cleanup functions are never called when Apache
is shutting down.
Does anyone has a better solution? (This is currently working at my place,
but you have the knowledge)... Can I keep this and feel secure about it???
Thank you...
    Pier
---

*** http_main-old.c     Mon Jun 22 21:50:59 1998
--- http_main.c Mon Jun 22 21:56:20 1998
***************
*** 5033,5038 ****
--- 5033,5039 ----
      cleanup_scoreboard();

      APD2("process PID %d exited", my_pid);
+     ap_destroy_pool(pconf);
      exit(0);
  }                             /* standalone_main */

***************
*** 5481,5486 ****
--- 5482,5488 ----
                        "Apache", install, run_as_service);
      }

+     ap_destroy_pool(pconf);
      return (0);
  }




Mime
View raw message