]> granicus.if.org Git - apache/commitdiff
Align 2.4 w/ trunk... since 2.4.0 was never released, API change is OK.
authorJim Jagielski <jim@apache.org>
Wed, 1 Feb 2012 13:36:37 +0000 (13:36 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 1 Feb 2012 13:36:37 +0000 (13:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1239125 13f79535-47bb-0310-9956-ffa450edef68

include/ap_mmn.h
include/scoreboard.h
server/scoreboard.c

index 7df163b7c77ee72d13da5c0d515cae6ed18319e6..319dc45ffce4130f4d697a3d997021d6249bb860 100644 (file)
  *                         ap_proxy_strmatch_path, ap_proxy_strmatch_domain,
  *                         ap_proxy_table_unmerge(), proxy_lb_workers.
  * 20120109.0 (2.4.1-dev)  Changes sizeof(overrides_t) in core config.
+ * 20120109.1 (2.4.1-dev)  remove sb_type in global_score.
  */
 
 #define MODULE_MAGIC_COOKIE 0x41503234UL /* "AP24" */
 #ifndef MODULE_MAGIC_NUMBER_MAJOR
 #define MODULE_MAGIC_NUMBER_MAJOR 20120109
 #endif
-#define MODULE_MAGIC_NUMBER_MINOR 0                   /* 0...n */
+#define MODULE_MAGIC_NUMBER_MINOR 1                   /* 0...n */
 
 /**
  * Determine if the server's current MODULE_MAGIC_NUMBER is at least a
index 8165d57ed3ebcf8e1720e45c86c046e4563fcb4f..31450056474e34dc2731338e14067e5f92b1a54c 100644 (file)
@@ -120,7 +120,6 @@ struct worker_score {
 typedef struct {
     int             server_limit;
     int             thread_limit;
-    ap_scoreboard_e sb_type;
     ap_generation_t running_generation; /* the generation of children which
                                          * should still be serving requests.
                                          */
index b3d553f437c212afdd94f9bf21a4f745e8144da3..42019955c08f2b2c994fa27fb632386dca069ffa 100644 (file)
@@ -330,7 +330,7 @@ int ap_create_scoreboard(apr_pool_t *p, ap_scoreboard_e sb_type)
         ap_init_scoreboard(sb_mem);
     }
 
-    ap_scoreboard_image->global->sb_type = scoreboard_type = sb_type;
+    scoreboard_type = sb_type;
     ap_scoreboard_image->global->running_generation = 0;
     ap_scoreboard_image->global->restart_time = apr_time_now();