]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
My connection status patch broke all the MPMs that didn't have
authorManoj Kasichainula <manoj@apache.org>
Wed, 13 Oct 1999 18:16:50 +0000 (18:16 +0000)
committerManoj Kasichainula <manoj@apache.org>
Wed, 13 Oct 1999 18:16:50 +0000 (18:16 +0000)
connection status support yet. For now, throw in stub functions so that
the server compiles.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83985 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/mpmt_beos/scoreboard.c
server/mpm/mpmt_pthread/scoreboard.c
server/mpm/prefork/prefork.c
server/mpm/spmt_os2/spmt_os2.c
server/mpm/winnt/mpm_winnt.c

index 74dafa1573ae964ae7e154844c3803adc057eba8..0763021875a6d0da98dd3e65c2605be1acd80a9f 100644 (file)
@@ -180,3 +180,17 @@ void ap_time_process_request(int child_num, int thread_num, int status)
     }
     put_scoreboard_info(child_num, thread_num, ss);
 }
+
+/* Stub functions until this MPM supports the connection status API */
+
+API_EXPORT(void) ap_update_connection_status(long conn_id, const char *key, \
+                                             const char *value)
+{
+    /* NOP */
+}
+
+API_EXPORT(void) ap_reset_connection_status(long conn_id)
+{
+    /* NOP */
+}
+
index 8459af49b7cd3417cf726c104fa0bf3926b397e2..2c365a7fdff3cc102c0acc8cc681cc20a06e632e 100644 (file)
@@ -661,3 +661,17 @@ void ap_time_process_request(int child_num, int thread_num, int status)
     }
     put_scoreboard_info(child_num, thread_num, ss);
 }
+
+/* Stub functions until this MPM supports the connection status API */
+
+API_EXPORT(void) ap_update_connection_status(long conn_id, const char *key, \
+                                             const char *value)
+{
+    /* NOP */
+}
+
+API_EXPORT(void) ap_reset_connection_status(long conn_id)
+{
+    /* NOP */
+}
+
index 41983f34c4d414e932c55b0a628256b0a19b239d..6b2a9f49d07fab503ab69a1e132a659c1e396bd4 100644 (file)
@@ -2968,6 +2968,18 @@ API_EXPORT(void) ap_thread_mutex_destroy(ap_thread_mutex *mtx)
     free(mtx);
 }
 
+/* Stub functions until this MPM supports the connection status API */
+
+API_EXPORT(void) ap_update_connection_status(long conn_id, const char *key, \
+                                             const char *value)
+{
+    /* NOP */
+}
+
+API_EXPORT(void) ap_reset_connection_status(long conn_id)
+{
+    /* NOP */
+}
 
 static const command_rec prefork_cmds[] = {
 UNIX_DAEMON_COMMANDS
index 8ed71dcd416e97e43539851bff40d5754c2702d3..08174e25f4375f7a5bb5c99eba86189673d93423 100644 (file)
@@ -1771,6 +1771,18 @@ API_EXPORT(void) ap_thread_mutex_destroy(ap_thread_mutex *mtx)
     free(mtx);
 }
 
+/* Stub functions until this MPM supports the connection status API */
+
+API_EXPORT(void) ap_update_connection_status(long conn_id, const char *key, \
+                                             const char *value)
+{
+    /* NOP */
+}
+
+API_EXPORT(void) ap_reset_connection_status(long conn_id)
+{
+    /* NOP */
+}
 
 static const command_rec spmt_os2_cmds[] = {
 LISTEN_COMMANDS
index cd7c8045faeb714987ac659b6425c7b3b523fe76..718f4610ddf0c0f366b3d1bfdddf06bb1fd81a84 100644 (file)
@@ -1731,6 +1731,19 @@ static const char *set_coredumpdir (cmd_parms *cmd, void *dummy, char *arg)
     return NULL;
 }
 
+/* Stub functions until this MPM supports the connection status API */
+
+API_EXPORT(void) ap_update_connection_status(long conn_id, const char *key, \
+                                             const char *value)
+{
+    /* NOP */
+}
+
+API_EXPORT(void) ap_reset_connection_status(long conn_id)
+{
+    /* NOP */
+}
+
 static const command_rec winnt_cmds[] = {
 LISTEN_COMMANDS
 { "PidFile", set_pidfile, NULL, RSRC_CONF, TAKE1,