~ubuntu-branches/ubuntu/wily/trafficserver/wily

« back to all changes in this revision

Viewing changes to proxy/http/HttpUpdateSM.cc

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2012-12-17 22:28:16 UTC
  • mfrom: (5.1.8 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20121217222816-7xwjsx5k76zkb63d
Tags: 3.2.0-1ubuntu1
* Revert FreeBSD strerror_r() fixes that give errors with glibc 2.16.
* Apply patch from Konstantinos Margaritis to define barriers on ARM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
 
76
76
  // Fix ME: What should these be set to since there is not a
77
77
  //   real client
78
 
  t_state.client_info.ip = inet_addr("127.0.0.1");
79
 
  t_state.client_info.port = 0;
 
78
  ats_ip4_set(&t_state.client_info.addr, htonl(INADDR_LOOPBACK), 0);
80
79
  t_state.backdoor_request = 0;
81
 
  t_state.client_info.port_attribute = SERVER_PORT_DEFAULT;
 
80
  t_state.client_info.port_attribute = HttpProxyPort::TRANSPORT_DEFAULT;
82
81
 
83
82
  t_state.req_flavor = HttpTransact::REQ_FLAVOR_SCHEDULED_UPDATE;
84
83