Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 25 of 76) sorted by relevance

1234

/trafficserver/src/traffic_ctl/
H A Dhost.cc54 std::string reason = arguments.get("reason").value(); in status_down() local
58 if (reason.empty()) { in status_down()
59 reason = Reason::MANUAL; in status_down()
65 if (!Reason::validReason(reason.c_str())) { in status_down()
66 fprintf(stderr, "\nInvalid reason: '%s'\n\n", reason.c_str()); in status_down()
92 std::string reason = arguments.get("reason").value(); in status_up() local
95 if (reason.empty()) { in status_up()
96 reason = Reason::MANUAL; in status_up()
99 if (!Reason::validReason(reason.c_str())) { in status_up()
100 fprintf(stderr, "\nInvalid reason: '%s'\n\n", reason.c_str()); in status_up()
[all …]
/trafficserver/plugins/experimental/metalink/test/
H A Dhttp0961 def clientConnectionFailed(ctx, connector, reason): argument
64 reason.printTraceback()
69 def connectionLost(ctx, reason): argument
73 def clientConnectionFailed(ctx, connector, reason): argument
H A Dheaders53 def clientConnectionFailed(ctx, connector, reason): argument
56 reason.printTraceback()
61 def connectionLost(ctx, reason): argument
H A DnotModified54 def clientConnectionFailed(ctx, connector, reason): argument
57 reason.printTraceback()
62 def connectionLost(ctx, reason): argument
H A DshortContentLengthDisconnect59 def clientConnectionFailed(ctx, connector, reason): argument
62 reason.printTraceback()
67 def connectionLost(ctx, reason): argument
H A Dzero54 def clientConnectionFailed(ctx, connector, reason): argument
57 reason.printTraceback()
62 def connectionLost(ctx, reason): argument
H A DcontentLength54 def clientConnectionFailed(ctx, connector, reason): argument
57 reason.printTraceback()
62 def connectionLost(ctx, reason): argument
H A DcontentLengthDisconnect60 def clientConnectionFailed(ctx, connector, reason): argument
63 reason.printTraceback()
68 def connectionLost(ctx, reason): argument
H A Dlonger58 def clientConnectionFailed(ctx, connector, reason): argument
61 reason.printTraceback()
66 def connectionLost(ctx, reason): argument
H A DshortChunkedEncodingDisconnect58 def clientConnectionFailed(ctx, connector, reason): argument
61 reason.printTraceback()
66 def connectionLost(ctx, reason): argument
H A DchunkedEncodingDisconnect59 def clientConnectionFailed(ctx, connector, reason): argument
62 reason.printTraceback()
67 def connectionLost(ctx, reason): argument
H A DshortClientDisconnect51 def clientConnectionFailed(ctx, connector, reason): argument
74 def clientConnectionFailed(ctx, connector, reason): argument
77 reason.printTraceback()
H A DchunkedEncoding58 def clientConnectionFailed(ctx, connector, reason): argument
61 reason.printTraceback()
66 def connectionLost(ctx, reason): argument
H A DclientDisconnect55 def clientConnectionFailed(ctx, connector, reason): argument
78 def clientConnectionFailed(ctx, connector, reason): argument
81 reason.printTraceback()
H A DfinalChunkedEncodingDisconnect71 def clientConnectionFailed(ctx, connector, reason): argument
74 reason.printTraceback()
79 def connectionLost(ctx, reason): argument
H A DnotCacheable62 def clientConnectionFailed(ctx, connector, reason): argument
65 reason.printTraceback()
70 def connectionLost(ctx, reason): argument
H A DpipeliningDisconnect51 def clientConnectionFailed(ctx, connector, reason): argument
80 def clientConnectionFailed(ctx, connector, reason): argument
83 reason.printTraceback()
H A Dlocation66 def clientConnectionFailed(ctx, connector, reason): argument
69 reason.printTraceback()
74 def connectionLost(ctx, reason): argument
/trafficserver/doc/appendices/command-line/
H A Dtraffic_ctl.en.rst256 .. option:: --reason active | local | manual
258 Sets the reason for the operation.
261 Set the active health check reason.
264 Set the local health check reason.
267 Set the administrative reason. This is the default reason if a reason is needed and not
270 Internally the reason can be ``self_detect`` if
273 marking this reason as "down" in that case.
292 Supports :option:`--time`, :option:`--reason`.
297 :option:`--reason` to mark the host reason code. The 'self_detect' is an internal reason code
301 Supports :option:`--reason`.
[all …]
/trafficserver/proxy/
H A DHostStatus.h69 validReason(const char *reason) in validReason()
72 if (strcmp(i, reason) == 0) { in validReason()
165 getReasonState(unsigned int reason) in getReasonState()
170 } else if (reasons & reason) { in getReasonState()
189 …st HostStatus_t status, const unsigned int down_time, const unsigned int reason);
/trafficserver/plugins/lua/
H A Dts_lua_client_response.c310 const char *reason; in ts_lua_client_response_set_status() local
322 reason = TSHttpHdrReasonLookup(status); in ts_lua_client_response_set_status()
323 reason_len = strlen(reason); in ts_lua_client_response_set_status()
326 …TSHttpHdrReasonSet(http_ctx->client_response_bufp, http_ctx->client_response_hdrp, reason, reason_… in ts_lua_client_response_set_status()
386 const char *reason; in ts_lua_client_response_set_error_resp() local
402 reason = TSHttpHdrReasonLookup(status); in ts_lua_client_response_set_error_resp()
403 reason_len = strlen(reason); in ts_lua_client_response_set_error_resp()
406 …TSHttpHdrReasonSet(http_ctx->client_response_bufp, http_ctx->client_response_hdrp, reason, reason_… in ts_lua_client_response_set_error_resp()
421 memcpy(resp_buf, reason, reason_len); in ts_lua_client_response_set_error_resp()
/trafficserver/plugins/experimental/slice/
H A Dresponse.cc94 char const *const reason = TSHttpHdrReasonLookup(TS_HTTP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE); in form416HeaderAndBody() local
95 header.setReason(reason, strlen(reason)); in form416HeaderAndBody()
/trafficserver/src/traffic_server/
H A DHostStatus.cc52 unsigned int reason = Reason::getReason(reason_str); in mgmt_host_status_up_callback() local
61 hs.setHostStatus(name, HostStatus_t::HOST_STATUS_UP, down_time, reason); in mgmt_host_status_up_callback()
85 unsigned int reason = Reason::getReason(reason_str); in mgmt_host_status_down_callback() local
93 hs.setHostStatus(name, HostStatus_t::HOST_STATUS_DOWN, down_time, reason); in mgmt_host_status_down_callback()
249 …e, HostStatus_t status, const unsigned int down_time, const unsigned int reason) in setHostStatus() argument
274 if (reason & Reason::ACTIVE) { in setHostStatus()
288 if (reason & Reason::LOCAL) { in setHostStatus()
302 if (reason & Reason::MANUAL) { in setHostStatus()
316 if (reason & Reason::SELF_DETECT) { in setHostStatus()
/trafficserver/src/traffic_wccp/
H A Dwccp_client.cc97 char *reason = strerror(-err); in check_lockfile() local
104 } else if (reason) { in check_lockfile()
105 fprintf(stderr, " (%s)\n", reason); in check_lockfile()
/trafficserver/example/plugins/cpp-api/customresponse/
H A DCustomResponse.cc48 …CustomResponseTransactionPlugin(Transaction &transaction, HttpStatus status, const string &reason,… in CustomResponseTransactionPlugin() argument
49 : TransactionPlugin(transaction), status_(status), reason_(reason), body_(body) in CustomResponseTransactionPlugin()

Completed in 140 milliseconds

1234