[ https://issues.apache.org/jira/browse/TS-5105?focusedWorklogId=34285&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-34285 ]
ASF GitHub Bot logged work on TS-5105: -------------------------------------- Author: ASF GitHub Bot Created on: 27/Dec/16 13:48 Start Date: 27/Dec/16 13:48 Worklog Time Spent: 10m Work Description: GitHub user oknet opened a pull request: https://github.com/apache/trafficserver/pull/1276 TS-5105: Do vc->con.setRemote(target) before socksEntry->init() (cherry picked from commit 25140ce7b2d2d8214bbc22dde6a2db9144ff2693) You can merge this pull request into a Git repository by running: $ git pull https://github.com/oknet/trafficserver TS-5105-6.2.x Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/1276.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 #1276 ---- commit bc6f758f2ac6b2b2d9ae94c3593bdeb5a8d03722 Author: Oknet Xu <xuc...@skyguard.com.cn> Date: 2016-12-23T05:06:22Z TS-5105: Do vc->con.setRemote(target) before socksEntry->init() (cherry picked from commit 25140ce7b2d2d8214bbc22dde6a2db9144ff2693) ---- Issue Time Tracking ------------------- Worklog Id: (was: 34285) Time Spent: 50m (was: 40m) > 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 > Assignee: Oknet Xu > Fix For: 7.0.0 > > Time Spent: 50m > 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)