apr_optional.h
+/* for lb_score */
+#include ../modules/proxy/mod_proxy.h
+
/* Scoreboard file, if there is one */
#ifndef DEFAULT_SCOREBOARD
#define DEFAULT_SCOREBOARD logs/apache_runtime_status
@@ -142,11 +145,7 @@
};
/* stuff which is lb specific */
-typedef struct lb_score lb_score;
-struct
Off the top of my head, I have no idea why we even have lb_score
rather than just using proxy_worker_stat as we should.
This is easy to fix except for the fact that ap_get_scoreboard_lb()
is AP_DECLARE... Of course, adjusting in HEAD is fine, but
this is something that really should be fixed
On Tuesday 14 February 2006 15:06, Jim Jagielski wrote:
Off the top of my head, I have no idea why we even have lb_score
Neither have I. Someone slipped it it; noone objected.
rather than just using proxy_worker_stat as we should.
This is easy to fix except for the fact
-Ursprüngliche Nachricht-
Von: Jim Jagielski
Off the top of my head, I have no idea why we even have lb_score
rather than just using proxy_worker_stat as we should.
This is easy to fix except for the fact that ap_get_scoreboard_lb()
is AP_DECLARE... Of course, adjusting
Von: Jim Jagielski=20
=20
=20
Off the top of my head, I have no idea why we even have lb_score
rather than just using proxy_worker_stat as we should.
This is easy to fix except for the fact that ap_get_scoreboard_lb()
is AP_DECLARE... Of course, adjusting in HEAD is fine
-Ursprüngliche Nachricht-
Von: Jim Jagielski
That was the reason I added the 'context' struct member, to
allow for some reasonable extensions without adjusting the
actual API. :)
Yes, but it is not possible to share this data over processes
easily as it is only a pointer.
Nick Kew wrote:
I haven't thought this through yet, but presumably we could implement
an API for this. Something like:
struct worker_score {
/* all the stuff that's there now */
void data[]; /* at the end */
};
/* ditto other records */
:)
I did this awhile ago on all the
=?iso-8859-1?Q?Pl=FCm=2C_R=FCdiger=2C_VIS?= wrote:
-Urspr=FCngliche Nachricht-
Von: Jim Jagielski=20
=20
=20
That was the reason I added the 'context' struct member, to=20
allow for some reasonable extensions without adjusting the=20
actual API. :)
Yes, but it is not
-Ursprüngliche Nachricht-
Von: Jim Jagielski
Yes, but it is not possible to share this data over
processes easily
as it is only a pointer.
But it could be a pointer to a shared memory segment :)
Yes of course, but I have to write more code to manage this
than for an
Jim Jagielski wrote:
Nick Kew wrote:
I haven't thought this through yet, but presumably we could implement
an API for this. Something like:
struct worker_score {
/* all the stuff that's there now */
void data[]; /* at the end */
};
/* ditto other records */
:)
I did this awhile
=?iso-8859-1?Q?Pl=FCm=2C_R=FCdiger=2C_VIS?= wrote:
-Urspr=FCngliche Nachricht-
Von: Jim Jagielski=20
=20
Yes, but it is not possible to share this data over=20
processes easily=20
as it is only a pointer.
=20
But it could be a pointer to a shared memory segment :)
11 matches
Mail list logo