Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4948

CID 1364117 (Forward NULL) in proxy/http/HttpSM.cc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.1.0
    • HTTP
    • None

    Description

      *** CID 1364117:    (FORWARD_NULL)
      /proxy/http/HttpSM.cc: 2111 in HttpSM::process_hostdb_info(HostDBInfo *)()
      2105     void
      2106     HttpSM::process_hostdb_info(HostDBInfo *r)
      2107     {
      2108       // Increment the refcount to our item, since we are pointing at it
      2109       t_state.hostdb_entry = Ptr<HostDBInfo>(r);
      2110     
         CID 1364117:    (FORWARD_NULL)
         Assigning: "client_addr" = "NULL".
      2111       sockaddr const *client_addr = NULL;
      2112       bool use_client_addr        = t_state.http_config_param->use_client_target_addr == 1 && t_state.client_info.is_transparent &&
      2113                              t_state.dns_info.os_addr_style == HttpTransact::DNSLookupInfo::OS_ADDR_TRY_DEFAULT;
      2114       if (use_client_addr) {
      2115         NetVConnection *vc = t_state.state_machine->ua_session ? t_state.state_machine->ua_session->get_netvc() : NULL;
      2116         if (vc) {
      /proxy/http/HttpSM.cc: 2111 in HttpSM::process_hostdb_info(HostDBInfo *)()
      2105     void
      2106     HttpSM::process_hostdb_info(HostDBInfo *r)
      2107     {
      2108       // Increment the refcount to our item, since we are pointing at it
      2109       t_state.hostdb_entry = Ptr<HostDBInfo>(r);
      2110     
         CID 1364117:    (FORWARD_NULL)
         Assigning: "client_addr" = "NULL".
      2111       sockaddr const *client_addr = NULL;
      2112       bool use_client_addr        = t_state.http_config_param->use_client_target_addr == 1 && t_state.client_info.is_transparent &&
      2113                              t_state.dns_info.os_addr_style == HttpTransact::DNSLookupInfo::OS_ADDR_TRY_DEFAULT;
      2114       if (use_client_addr) {
      2115         NetVConnection *vc = t_state.state_machine->ua_session ? t_state.state_machine->ua_session->get_netvc() : NULL;
      2116         if (vc) {
      

      Attachments

        Issue Links

          Activity

            People

              zwoop Leif Hedstrom
              zwoop Leif Hedstrom
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m