Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F28484691
raw.txt
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
ema
Mar 27 2019, 3:51 PM
2019-03-27 15:51:27 (UTC+0)
Size
979 B
Referenced Files
None
Subscribers
None
raw.txt
View Options
// Line 8406 is case CLIENT_TRANSACTION_RESULT_ERROR_ABORT
// $s:struct State* $total_time:ink_hrtime $client_transaction_result:enum ClientTransactionResult_t $total_msec:ink_hrtime
probe process("/usr/bin/traffic_server").statement("client_result_stat@./proxy/http/HttpTransact.cc:8406")
{
ui = $s->unmapped_url->m_url_impl
pp = @cast(ui, "URLImpl")->m_ptr_path
lp = @cast(ui, "URLImpl")->m_len_path
url = user_string_n(pp ,lp)
resp_cl = $s->hdr_info->response_content_length
printf("URL: %s\nContent-Length: %d\n", url, resp_cl)
MIME_FIELD_BLOCK_SLOTS = 16
for (i=0; i<MIME_FIELD_BLOCK_SLOTS; i++) {
slot = &$s->hdr_info->client_request->m_mime->m_first_fblock->m_field_slots[i]
name = user_string_n(slot->m_ptr_name, slot->m_len_name)
value = user_string_n(slot->m_ptr_value, slot->m_len_value)
if (name == "User-Agent") {
printf("User-Agent: %s\n", value)
break
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7228410
Default Alt Text
raw.txt (979 B)
Attached To
Mode
P8295 abort_errors.stp
Attached
Detach File
Event Timeline
Log In to Comment