Skip to content

Conversation

@jpeach
Copy link
Contributor

@jpeach jpeach commented Oct 1, 2016

We have an object AcceptOptions that contains the options to apply
to listening sockets, but in many places, the individual options
are passed around. Consolidate this so that we pass a AcceptOptions
to provide better guarantees that all listening sockets are created
equal.

We have an object AcceptOptions that contains the options to apply
to listening sockets, but in many places, the individual options
are passed around. Consolidate this so that we pass a AcceptOptions
to provide better guarantees that all listening sockets are created
equal.
@atsci
Copy link

atsci commented Oct 1, 2016

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/912/ for details.

@atsci
Copy link

atsci commented Oct 1, 2016

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/807/ for details.

@zwoop zwoop added the Network label Oct 4, 2016
@zwoop zwoop added this to the 7.1.0 milestone Oct 4, 2016
@jpeach
Copy link
Contributor Author

jpeach commented Oct 7, 2016

Ping @bryancall @AMC?

@oknet
Copy link
Member

oknet commented Oct 8, 2016

@jpeach Good job!

And I have my own thoughts on AcceptOptions optimization, but it is quite basic and rough.

  1. class NetVCOptions as base class and defined in iocore/net/I_NetVConnection.h
  2. class AcceptOptions : public NetVCOptions and defined in iocore/net/I_NetAccept.h (moved it from P_NetAccept.h)
  3. class HttpSessionAcceptOptions : public AcceptOptions and defined in proxy/http/HttpSessionAccept.h

@jpeach jpeach merged commit 1c697dc into apache:master Oct 8, 2016
bneradt pushed a commit to bneradt/trafficserver that referenced this pull request Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants