Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 269) sorted by relevance

1234567891011

/trafficserver/contrib/openssl/
H A Dasync_engine.c59 static int async_pub_enc(int flen, const unsigned char *from,
61 static int async_pub_dec(int flen, const unsigned char *from,
63 static int async_rsa_priv_enc(int flen, const unsigned char *from,
65 static int async_rsa_priv_dec(int flen, const unsigned char *from,
252 static int async_pub_enc(int flen, const unsigned char *from, in async_pub_enc() argument
255 (flen, from, to, rsa, padding); in async_pub_enc()
258 static int async_pub_dec(int flen, const unsigned char *from, in async_pub_dec() argument
261 (flen, from, to, rsa, padding); in async_pub_dec()
264 static int async_rsa_priv_enc(int flen, const unsigned char *from, in async_rsa_priv_enc() argument
271 (flen, from, to, rsa, padding); in async_rsa_priv_enc()
[all …]
/trafficserver/example/plugins/c-api/intercept/
H A Dintercept.cc229 InterceptTransferData(InterceptIO *from, InterceptIO *to) in InterceptTransferData() argument
256 TSIOBufferReaderConsume(from->readio.reader, consumed); in InterceptTransferData()
391 VDEBUG("closing %s vc=%p", InterceptProxySide(cdata.istate, from), from->vc); in InterceptInterceptionHook()
392 from->close(); in InterceptInterceptionHook()
395 if (from->vc == nullptr) { in InterceptInterceptionHook()
404 …m %s (vc=%p), writing to %s (vc=%p)", InterceptProxySide(cdata.istate, from), from->vc, in InterceptInterceptionHook()
407 nbytes = InterceptTransferData(from, to); in InterceptInterceptionHook()
433 if (from->vc == nullptr) { in InterceptInterceptionHook()
464 if (from) { in InterceptInterceptionHook()
466 TSIOBufferReaderAvail(from->writeio.reader)); in InterceptInterceptionHook()
[all …]
/trafficserver/proxy/logging/
H A DLogUtils.cc380 char *from = url; in escapify_url_common() local
383 while (from < in_url_end) { in escapify_url_common()
384 unsigned char c = *from; in escapify_url_common()
390 if (!pure_escape && (*from == '%') && ((from + 2) < in_url_end)) { in escapify_url_common()
391 unsigned char c1 = *(from + 1); in escapify_url_common()
392 unsigned char c2 = *(from + 2); in escapify_url_common()
396 …"log-utils", "character already encoded..skipping %c, %c, %c", *from, *(from + 1), *(from + 2)); in escapify_url_common()
397 *to++ = *from++; in escapify_url_common()
406 *to++ = *from; in escapify_url_common()
408 from++; in escapify_url_common()
/trafficserver/iocore/net/
H A DI_UDPPacket.h60 IpEndpoint from; // what address came from member in UDPPacket
102 extern UDPPacket *new_incoming_UDPPacket(struct sockaddr *from, char *buf, int len);
108 extern UDPPacket *new_incoming_UDPPacket(struct sockaddr *from, Ptr<IOBufferBlock> &block);
H A DP_UDPPacket.h64 memset(&from, '\0', sizeof(from)); in UDPPacketInternal()
179 new_incoming_UDPPacket(struct sockaddr *from, struct sockaddr *to, Ptr<IOBufferBlock> &block) in new_incoming_UDPPacket() argument
186 ats_ip_copy(&p->from, from); in new_incoming_UDPPacket()
H A DQUICPacketHandler.cc231 ats_ip_nptop(&udp_packet->from.sa, ipb_from, sizeof(ipb_from)), in _recv_packet()
246 this->_send_packet(*vn, udp_packet->getConnection(), udp_packet->from, 1200, nullptr, 0); in _recv_packet()
274 ats_ip_nptop(&udp_packet->from.sa, ipb_from, sizeof(ipb_from)), in _recv_packet()
310 this->_send_packet(*packet, udp_packet->getConnection(), udp_packet->from, 1200, nullptr, 0); in _recv_packet()
319 con.setRemote(&udp_packet->from.sa); in _recv_packet()
342 vc->options.ip_family = udp_packet->from.sa.sa_family; in _recv_packet()
372 …nst uint8_t *buf, uint64_t buf_len, UDPConnection *connection, IpEndpoint from, in _stateless_retry() argument
391 QUICRetryToken token(from, dcid); in _stateless_retry()
398 this->_send_packet(*retry_packet, connection, from, 1200, nullptr, 0); in _stateless_retry()
406 if (token.is_valid(from)) { in _stateless_retry()
[all …]
/trafficserver/src/tscore/
H A DHostLookup.cc647 ink_assert(from->type == HostBranch::HOST_TERMINAL); in TableNewLevel()
651 if (from->level_idx == 0) { in TableNewLevel()
652 from->type = HostBranch::HOST_INDEX; in TableNewLevel()
653 from->next_level._index = new CharIndex; in TableNewLevel()
655 from->type = HostBranch::HOST_ARRAY; in TableNewLevel()
656 from->next_level._array = new HostArray; in TableNewLevel()
659 return InsertBranch(from, level_data); in TableNewLevel()
723 switch (from->type) { in FindNextLevel()
729 auto table = from->next_level._table; in FindNextLevel()
734 r = from->next_level._index->Lookup(level_data); in FindNextLevel()
[all …]
/trafficserver/doc/admin-guide/logging/
H A Dformatting.en.rst44 The return value from the ``format`` function is the log format object which
121 Age header from an origin server response you would do::
434 csshl Cached Origin Response Header length from cached origin response.
637 request from |TS| to the origin server was
779 paths), from transactions processed by |TS|.
792 cqup Proxy Request Path component from the remapped client request.
793 cqus Client Request URL scheme from the client request.
797 cquuh Client Request Unmapped URL host from the client request.
830 Log field value from start through end-1
832 Log field value from start through the rest of the string
[all …]
H A Drotation.en.rst31 analysis by humans and other programs, and log retention to keep logs from
47 every six hours, and adjusting from there.
53 - It keeps any single log file from becoming too large and helps to
76 be different from the timestamp of the first entry. Under normal
95 ``%M`` The month in two-digit format, from 01-12. 07
96 ``%D`` The day in two-digit format, from 01-31. 19
97 ``%H`` The hour in two-digit format, from 00-23. 21
98 ``%M`` The minute in two-digit format, from 00-59. 52
99 ``%S`` The second in two-digit format, from 00-59. 36
215 files from the logging directory manually.
[all …]
H A Dcache-results.en.rst43 Misconfigured headers from your origin may be resulting in clients aggressively
56 bug reports from users.
62 be anything from simply not sized appropriately despite your hopes and
71 objects (e.g. hours-long, archived training videos from years past) from
77 served primarily (or perhaps almost exclusively) from your |TS| cache may
83 signal that your origin servers are not responding to proxied requests from
85 it to be stale attempted to refresh the object from an origin and was met with
111 the object from the origin server (or a parent proxy) and sent it to
150 Server obtained the requested object from the origin server and sent
152 the object from cache.
/trafficserver/doc/appendices/command-line/
H A Dtraffic_via.en.rst57 Decode the Via header from command-line arguments::
62 Request headers received from client :simple request (not conditional)
64 Response information received from origin server :error in response
74 Decode the Via header from a curl request, using the :ref:`X-Debug <admin-plugins-xdebug>` plugin::
79 Request headers received from client :simple request (not conditional)
81 Response information received from origin server :connection opened successfully
H A Dtraffic_top.en.rst51 machine from which you run :program:`traffic_top` is able to access the HTTP(S)
112 from the |TS| RAM Cache avoid the much slower disk I/O necessary to serve from
205 Total number of DNS lookups which were successfully served from the HostDB
213 The percentage of cache lookups which were served successfully from the RAM
215 to the origin server). This is calculated as a ratio from the two RAM Cache
226 from the cache to the client without any need to contact origin servers or
251 been expired fully and a new copy was retrieved from the origin server.
253 from what had been marked expired in the cache.
265 resulted in new data being retrieved from the origin server.
535 The number of currently-open HTTP connections from clients with |TS|.
[all …]
/trafficserver/proxy/http/
H A Dtest_socket_close.cc122 int do_connect(Conn *from, Conn *to);
331 do_connect(Conn *from, Conn *to) in do_connect() argument
336 if ((from->s = create_nonblocking_socket()) < 0) { in do_connect()
337 from->state.state = STATE_ERROR; in do_connect()
338 return (from->s); in do_connect()
341 if (connect(from->s, (struct sockaddr *)&to->addr, sizeof(to->addr)) < 0) { in do_connect()
344 ::close(from->s); in do_connect()
345 from->state.state = STATE_ERROR; in do_connect()
352 from->state.state = STATE_IDLE; in do_connect()
353 return (from->s); in do_connect()
/trafficserver/doc/developer-guide/api/functions/
H A DTSVConnProtocol.en.rst39 …onnProtocolDisable` will remove the protocol specified by :arg:`protocol` from the TLS protocol ne…
41 To be effective, these calls must be made from the early TLS negotiation hooks like :member:`TS_SSL…
46 The example below is excerpted from `example/plugins/c-api/disable_http2/disable_http2.cc`
48 can be used in a plugin called from the :member:`TS_SSL_SERVERNAME_HOOK`.
H A DTSVConnFdCreate.en.rst24 Create a TSVConn from a socket.
39 :type:`TSVConn` constructed from the socket. The socket descriptor must be an
52 The example below is excerpted from `example/plugins/c-api/intercept/intercept.cc`
54 use :func:`TSVConnFdCreate` to construct a :type:`TSVConn` from a
H A DTSEventThreadSelf.en.rst36 Return a value that refers to the current :term:`event thread`. This must be called from a thread
37 with an :term:`event loop`. This will be true from any callback invoked from a hook or a scheduled
/trafficserver/doc/developer-guide/core-architecture/
H A Drpc.en.rst60 |TManager| opens a unix domain socket to receive commands from remote clients. |TManager| also has …
66 Sequence diagram for a command sent from |TCtl| to when it is received by a plugin.
78 The RPC API for remote clients, such as |TCtl|, etc, is different from the RPC API used between |TM…
149 note left : casts from\nchar* to void*
176 Send a request from a remote client to |TManager|.
180 Send a response from |TManager| to remote client.
184 Send err from |TManager| to remote client.
188 Read request from remote client. Used by |TManager|.
192 Read response from |TManager|. Used by remote clients.
256 …This function watches the socket and handles incoming messages from processes. Used in the main ev…
[all …]
/trafficserver/doc/admin-guide/configuration/
H A Dproxy-protocol.en.rst28 information from the previous hop connecting to |TS| and not the actual
34 The current version only supports transforming client IP from PROXY Version 1
52 If the whitelist is configured, requests will only be accepted from these
72 accurately to the Load Balancer. |TS| would only see the connection from the
73 Load Balancer. Similarly, the Web Server would only see the connection from
75 Server would see the connection originating from |TS| at ``10.0.0.2``:
86 header to determine the TLS connection originated from the client at ``192.168.1.100``:
/trafficserver/doc/admin-guide/plugins/
H A Dxdebug.en.rst69 - Request Headers from Client -> Proxy A
70 - Request Headers from Proxy A -> Proxy B
72 - Response Headers from Proxy B -> Proxy A
73 - Response Headers from Proxy A -> Client
94 at the beginning of the existing X-Cache header. As a result, the order is reversed from
104 state machine. The timing information is obtained from the
114 …If the URL was remapped for a request, this header gives the *to* and *from* field from the line i…
/trafficserver/doc/admin-guide/files/
H A Dparent.config.en.rst158 first parent server chosen from the ``parent`` list, then the
159 request will be re-tried from a server found in this list using a
168 attempt to choose a parent from the ``parent`` list. If the
170 parent will be chosen from the ``secondary_parent`` list.
172 before attempting to choose another parent from the ``parent``
176 from the ``parent`` list. If the chosen parent is not available
177 or marked down then another parent will be chosen from the
179 exhausted before attempting to choose another parent from the
183 from the ``parent`` list.
186 be chosen from the ``secondary_parent`` list. The
[all …]
/trafficserver/doc/appendices/
H A Dglossary.en.rst39 Code that executes callbacks in continuations from a queue of events.
49 A single connection from a client to Traffic Server, covering all
54 A client request and response, either from the origin server or from the
59 The HTTP request sent from the user agent (the client) to |TS|.
62 The HTTP request sent from |TS| (the proxy) to the upstream.
87 cache. This is computed from the :term:`cache key` using the
97 the stored version of equivalent content streams from an origin server. A
139 The unit of storage in the cache. All reads from the cache always read
149 The state of a :term:`cache object` which can be served directly from the
/trafficserver/doc/developer-guide/plugins/io/
H A Dindex.en.rst56 That ability should be obvious from context.
64 A vconnection read or write operation is different from a normal UNIX
68 read for ``INT64_MAX`` (9 quintillion) bytes from a network vconnection
69 in order to read all the data from the network connection until the end
117 is obtained from ``input_vio`` by :c:func:`TSVIONBytesGet`.
132 buffer is now full. When the user consumes the data from the buffer,
137 The vconnection has removed data from the buffer passed to an
156 occurs when the number of bytes available for reading from a
158 should be read from the vconnection in a call to :c:func:`TSVConnRead`. A
160 ``INT64_MAX`` bytes are to be read from a network connection.
[all …]
/trafficserver/doc/developer-guide/plugins/
H A Dnew-protocol-plugins.en.rst46 parse them, and act as a proxy cache (i.e., request the file from the
63 - Serve content from cache if the request is a cache hit (this simple
100 connection from a client on that port, the accept state machine is
141 HTTP transaction plugins, this plugin must read data from network
144 they receive events from Traffic Server's processor subsystems. For
160 transaction state machine is activated by a DNS lookup event from the
163 initiates a net connection and waits for an event from the Net
231 plugin) receives events from the TSM.
244 changed from ``state2`` to ``state3`` (and the current
245 handler is changed from ``state2_handler`` to
[all …]
/trafficserver/iocore/net/quic/
H A DQUICPacket.h58 …QUICPacketHeader(const IpEndpoint from, const IpEndpoint to, ats_unique_buf buf, size_t len, QUICP… in QUICPacketHeader() argument
59 : _from(from), _to(to), _buf(std::move(buf)), _buf_len(len), _base_packet_number(base) in QUICPacketHeader()
67 const IpEndpoint &from() const;
125 …static QUICPacketHeaderUPtr load(const IpEndpoint from, const IpEndpoint to, ats_unique_buf buf, s…
214 …QUICPacketLongHeader(const IpEndpoint from, const IpEndpoint to, ats_unique_buf buf, size_t len, Q…
267 …QUICPacketShortHeader(const IpEndpoint from, const IpEndpoint to, ats_unique_buf buf, size_t len, …
353 virtual const IpEndpoint &from() const;
/trafficserver/doc/developer-guide/plugins/http-transformations/
H A Dsample-null-transformation-plugin.en.rst61 from an origin server need to be transformed. Objects served from
63 from the origin server, the routine ``transformable`` checks the
85 data is ready to be transformed (as it is streaming from the origin
100 4. Get a handle to the output vconnection (that receives data from the
120 from the output vconnection. See the ``handle_transform`` function
128 7. Copy data from the input buffer to the output buffer. See the
185 reenable. It then triggers the end of the write operation from the

Completed in 153 milliseconds

1234567891011