Commit a0ba5d0
committed
Merge r1929972, r1929973 from trunk:
mod_proxy_hcheck: Fix healthcheck disabled due to child restart while updating
When a child gets restarted while the healthcheck watchdog running for a
worker, the healcheck will be disabled for that worker indefinitively because
its ->updated time remains zero. Fix all zero ->updated time at startup.
* mod_proxy_hcheck.c(hc_watchdog_callback):
Have AP_WATCHDOG_STATE_STARTING set the ->updated time of all the workers to
"now" (if zero).
Move up scoped variables common to AP_WATCHDOG_STATE_{STARTING,RUNNING}
loops.
Reported by: Lubos Uhliarik <luhliari redhat.com>
Follow up to r1929972: CHANGES entry.
Submitted by: ylavic
Reviewed by: ylavic, rpluem, jorton
Github: closes #581
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1933633 13f79535-47bb-0310-9956-ffa450edef681 parent bd0c876 commit a0ba5d0
2 files changed
Lines changed: 34 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
992 | 992 | | |
993 | 993 | | |
994 | 994 | | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
995 | 1001 | | |
996 | 1002 | | |
997 | 1003 | | |
998 | 1004 | | |
999 | 1005 | | |
1000 | 1006 | | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
1001 | 1021 | | |
1002 | 1022 | | |
1003 | 1023 | | |
| |||
1023 | 1043 | | |
1024 | 1044 | | |
1025 | 1045 | | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
| 1046 | + | |
1029 | 1047 | | |
1030 | | - | |
1031 | 1048 | | |
1032 | | - | |
1033 | | - | |
1034 | | - | |
1035 | | - | |
1036 | 1049 | | |
1037 | 1050 | | |
1038 | | - | |
| 1051 | + | |
1039 | 1052 | | |
1040 | | - | |
| 1053 | + | |
| 1054 | + | |
1041 | 1055 | | |
1042 | 1056 | | |
1043 | 1057 | | |
1044 | | - | |
1045 | | - | |
| 1058 | + | |
| 1059 | + | |
1046 | 1060 | | |
1047 | 1061 | | |
1048 | 1062 | | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
1049 | 1068 | | |
1050 | 1069 | | |
1051 | 1070 | | |
| |||
1063 | 1082 | | |
1064 | 1083 | | |
1065 | 1084 | | |
1066 | | - | |
| 1085 | + | |
1067 | 1086 | | |
1068 | 1087 | | |
1069 | 1088 | | |
| |||
1077 | 1096 | | |
1078 | 1097 | | |
1079 | 1098 | | |
1080 | | - | |
1081 | 1099 | | |
1082 | 1100 | | |
1083 | 1101 | | |
| |||
0 commit comments