[ 
https://issues.apache.org/jira/browse/TS-5105?focusedWorklogId=34130&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-34130
 ]

ASF GitHub Bot logged work on TS-5105:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Dec/16 08:35
            Start Date: 23/Dec/16 08:35
    Worklog Time Spent: 10m 
      Work Description: GitHub user oknet opened a pull request:

    https://github.com/apache/trafficserver/pull/1275

    TS-5105: Do vc->con.setRemote(target) before socksEntry->init()

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/oknet/trafficserver TS-5105

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/1275.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1275
    
----
commit e564ad6e7abf81953d5802da58b9c34f9458f887
Author: Oknet Xu <[email protected]>
Date:   2016-12-23T05:06:22Z

    TS-5105: Do vc->con.setRemote(target) before socksEntry->init()

----


Issue Time Tracking
-------------------

            Worklog Id:     (was: 34130)
            Time Spent: 10m
    Remaining Estimate: 0h

> Assert on Socks.cc line 67, due to remote_addr not set in connect_re_internal
> -----------------------------------------------------------------------------
>
>                 Key: TS-5105
>                 URL: https://issues.apache.org/jira/browse/TS-5105
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: SOCKS
>            Reporter: Oknet Xu
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code}
> traffic_server: using root directory '/usr/local'
> traffic_server: Abort trap
> traffic_server - STACK TRACE:
> 0x4b07a9 <_Z19crash_logger_invokeiP9__siginfoPv+0x69> at 
> /usr/local/bin/traffic_server
> 0x80275ab37 <pthread_sigmask+0x507> at /lib/libthr.so.3
> 0x80275a22c <pthread_getspecific+0xe1c> at /lib/libthr.so.3
> [Dec 21 17:27:34.840] Server {0x804006400} DEBUG: <Socks.cc:462 
> (loadSocksConfiguration)> (Socks) Socks Version 4
> [Dec 21 17:27:34.840] Server {0x804006400} DEBUG: <Socks.cc:472 
> (loadSocksConfiguration)> (Socks) server connect timeout: 10 socks respnonse 
> timeout 100
> [Dec 21 17:27:34.840] Server {0x804006400} DEBUG: <Socks.cc:482 
> (loadSocksConfiguration)> (SocksProxy) Read SocksProxy info: accept_enabled = 
> 0 accept_port = 1080 http_port = 80
> [Dec 21 17:27:34.841] Server {0x804006400} DEBUG: <Socks.cc:489 
> (loadSocksConfiguration)> (Socks) Socks Config File: 
> /usr/local/etc/trafficserver/socks.config
> [Dec 21 17:27:34.842] Server {0x804006400} DEBUG: <Socks.cc:517 
> (loadSocksConfiguration)> (Socks) Socks Turned on
> [Dec 21 17:27:35.052] Server {0x804008000} DEBUG: <UnixNetProcessor.cc:228 
> (connect_re_internal)> (Socks) Using Socks ip: 216.58.192.142:80
> Assertion failed: (ats_is_ip4(&target_addr)), function init, file Socks.cc, 
> line 67.
> traffic_server: using root directory '/usr/local'
> traffic_server: Abort trap
> traffic_server - STACK TRACE:
> 0x4b07a9 <_Z19crash_logger_invokeiP9__siginfoPv+0x69> at 
> /usr/local/bin/traffic_server
> 0x80275ab37 <pthread_sigmask+0x507> at /lib/libthr.so.3
> 0x80275a22c <pthread_getspecific+0xe1c> at /lib/libthr.so.3
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to