ds_collect_connection_info (public)
ds_collect_connection_info
Defined in packages/acs-developer-support/tcl/acs-developer-support-procs.tcl
Collect information about the current connection. Should be called only at the very beginning of the request processor handler.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: # JCD: check recursion_count to ensure adding headers only one time. if { [ds_enabled_p] && [ds_collection_enabled_p] && ![ad_conn recursion_count]} { # # This is expensive, but easy. Otherwise we need to do it in every interpreter # ds_replace_get_user_procs [ds_user_switching_enabled_p] ds_add start [ns_time] ds_add conn startclicks [ad_conn start_clicks] foreach {key value} [ns_set array [ad_conn headers]] { ds_add headers $key $value } foreach param { method url query request peeraddr } { ds_add conn $param [ad_conn $param] } }XQL Not present: Generic, PostgreSQL, Oracle