summaryrefslogtreecommitdiffstats
path: root/src/lib/http/http_messages.cc
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2019-06-26 16:23:24 +0200
committerThomas Markwalder <tmark@isc.org>2019-06-27 13:50:54 +0200
commitcb11b477da1d2d3a8796f843e2ac2878921774c9 (patch)
tree33ebbcc0502790a7e9c9f8f78b53b4b3a654090c /src/lib/http/http_messages.cc
parent[#691,!395] Addressed review comments 1 (diff)
downloadkea-cb11b477da1d2d3a8796f843e2ac2878921774c9.tar.xz
kea-cb11b477da1d2d3a8796f843e2ac2878921774c9.zip
[#691,!395] Review comments 2
src/hooks/dhcp/high_availability/ha_messages.mes HA_SERVICE_CONNECT_INVALID_SOCKET - new message src/hooks/dhcp/high_availability/ha_service.cc HAService::clientConnectHandler() - added negative fd logic src/lib/http/client.cc Connection::closeCallback() - new method that wraps invocation of close callback in try-catch. src/lib/http/http_messages.mes HTTP_CONNECTION_CLOSE_CALLBACK_FAILED - new message
Diffstat (limited to 'src/lib/http/http_messages.cc')
-rw-r--r--src/lib/http/http_messages.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/http/http_messages.cc b/src/lib/http/http_messages.cc
index 79a3cb346a..e603f6f650 100644
--- a/src/lib/http/http_messages.cc
+++ b/src/lib/http/http_messages.cc
@@ -1,4 +1,4 @@
-// File created from ../../../src/lib/http/http_messages.mes on Mon May 13 2019 17:08
+// File created from ../../../src/lib/http/http_messages.mes on Wed Jun 26 2019 10:16
#include <cstddef>
#include <log/message_types.h>
@@ -16,6 +16,7 @@ extern const isc::log::MessageID HTTP_CLIENT_REQUEST_RECEIVED_DETAILS = "HTTP_CL
extern const isc::log::MessageID HTTP_CLIENT_REQUEST_SEND = "HTTP_CLIENT_REQUEST_SEND";
extern const isc::log::MessageID HTTP_CLIENT_REQUEST_SEND_DETAILS = "HTTP_CLIENT_REQUEST_SEND_DETAILS";
extern const isc::log::MessageID HTTP_CLIENT_REQUEST_TIMEOUT_OCCURRED = "HTTP_CLIENT_REQUEST_TIMEOUT_OCCURRED";
+extern const isc::log::MessageID HTTP_CONNECTION_CLOSE_CALLBACK_FAILED = "HTTP_CONNECTION_CLOSE_CALLBACK_FAILED";
extern const isc::log::MessageID HTTP_CONNECTION_STOP = "HTTP_CONNECTION_STOP";
extern const isc::log::MessageID HTTP_CONNECTION_STOP_FAILED = "HTTP_CONNECTION_STOP_FAILED";
extern const isc::log::MessageID HTTP_DATA_RECEIVED = "HTTP_DATA_RECEIVED";
@@ -42,6 +43,7 @@ const char* values[] = {
"HTTP_CLIENT_REQUEST_SEND", "sending HTTP request %1 to %2",
"HTTP_CLIENT_REQUEST_SEND_DETAILS", "detailed information about request sent to %1:\n%2",
"HTTP_CLIENT_REQUEST_TIMEOUT_OCCURRED", "HTTP request timeout occurred when communicating with %1",
+ "HTTP_CONNECTION_CLOSE_CALLBACK_FAILED", "Connection close callback threw an exception",
"HTTP_CONNECTION_STOP", "stopping HTTP connection from %1",
"HTTP_CONNECTION_STOP_FAILED", "stopping HTTP connection failed",
"HTTP_DATA_RECEIVED", "received %1 bytes from %2",