Home
last modified time | relevance | path

Searched refs:Http2Session (Results 1 – 25 of 30) sorted by relevance

12

/third_party/nghttp2/src/
Dshrpx_http2_session.cc67 auto http2session = static_cast<Http2Session *>(w->data); in connchk_timeout_cb()
92 auto http2session = static_cast<Http2Session *>(w->data); in settings_timeout_cb()
112 auto http2session = static_cast<Http2Session *>(conn->data); in timeoutcb()
132 auto http2session = static_cast<Http2Session *>(conn->data); in readcb()
147 auto http2session = static_cast<Http2Session *>(conn->data); in writecb()
160 auto http2session = static_cast<Http2Session *>(w->data); in initiate_connection_cb()
176 auto http2session = static_cast<Http2Session *>(w->data); in prepare_cb()
181 Http2Session::Http2Session(struct ev_loop *loop, SSL_CTX *ssl_ctx, in Http2Session() function in shrpx::Http2Session
204 read_ = write_ = &Http2Session::noop;
206 on_read_ = &Http2Session::read_noop;
[all …]
Dh2load_http2_session.cc39 Http2Session::Http2Session(Client *client) in Http2Session() function in h2load::Http2Session
42 Http2Session::~Http2Session() { nghttp2_session_del(session_); } in ~Http2Session()
173 void Http2Session::on_connect() { in on_connect()
247 int Http2Session::submit_request() { in submit_request()
273 int Http2Session::on_read(const uint8_t *data, size_t len) { in on_read()
291 int Http2Session::on_write() { in on_write()
305 void Http2Session::terminate() { in terminate()
309 size_t Http2Session::max_concurrent_streams() { in max_concurrent_streams()
Dshrpx_http2_session.h100 class Http2Session {
102 Http2Session(struct ev_loop *loop, SSL_CTX *ssl_ctx, Worker *worker,
105 ~Http2Session();
248 Http2Session *dlnext, *dlprev;
264 std::function<int(Http2Session &)> read_, write_;
265 std::function<int(Http2Session &, const uint8_t *, size_t)> on_read_;
266 std::function<int(Http2Session &)> on_write_;
Dh2load_http2_session.h36 class Http2Session : public Session {
38 Http2Session(Client *client);
39 virtual ~Http2Session();
Dshrpx_http2_downstream_connection.h39 class Http2Session; variable
44 Http2DownstreamConnection(Http2Session *http2session);
82 Http2Session *http2session_;
Dshrpx_worker.h63 class Http2Session; variable
113 DList<Http2Session> http2_extra_freelist;
Dshrpx_client_handler.h167 Http2Session *
Dshrpx_connection_handler.h61 class Http2Session; variable
Dshrpx_http2_downstream_connection.cc50 Http2DownstreamConnection::Http2DownstreamConnection(Http2Session *http2session) in Http2DownstreamConnection()
Dshrpx_client_handler.cc754 Http2Session *ClientHandler::get_http2_session( in get_http2_session()
795 auto session = new Http2Session(conn_.loop, worker_->get_cl_ssl_ctx(), in get_http2_session()
Dshrpx_config.h69 class Http2Session; variable
Dh2load.cc1122 session = std::make_unique<Http2Session>(this); in connection_made()
1166 session = std::make_unique<Http2Session>(this); in connection_made()
/third_party/node/src/
Dnode_http2.cc64 const Http2Session::Callbacks Http2Session::callback_struct_saved[2] = {
81 Http2Scope::Http2Scope(Http2Session* session) : session_(session) { in Http2Scope()
238 Http2Settings::Http2Settings(Http2Session* session, in Http2Settings()
293 void Http2Settings::Update(Http2Session* session, get_setting fn) { in Update()
356 const char* Http2Session::TypeName() const { in TypeName()
421 Http2Session::Callbacks::Callbacks(bool kHasGetPaddingCallback) { in Callbacks()
454 void Http2Session::StopTrackingRcbuf(nghttp2_rcbuf* buf) { in StopTrackingRcbuf()
458 void Http2Session::CheckAllocatedSize(size_t previous_size) const { in CheckAllocatedSize()
462 void Http2Session::IncreaseAllocatedSize(size_t size) { in IncreaseAllocatedSize()
466 void Http2Session::DecreaseAllocatedSize(size_t size) { in DecreaseAllocatedSize()
[all …]
Dnode_http2.h164 class Http2Session; variable
175 explicit Http2Scope(Http2Session* session);
179 BaseObjectPtr<Http2Session> session_;
261 typedef Http2Session allocator_t;
274 Http2Session* session,
284 Http2Session* session() { return session_.get(); } in session()
285 const Http2Session* session() const { return session_.get(); } in session()
470 Http2Stream(Http2Session* session,
478 BaseObjectWeakPtr<Http2Session> session_; // The Parent HTTP/2 Session
506 friend class Http2Session; variable
[all …]
DREADME.md832 void Http2Session::Request(const FunctionCallbackInfo<Value>& args) {
833 Http2Session* session;
/third_party/node/doc/api/
Dhttp2.md146 ### Class: `Http2Session`
154 Instances of the `http2.Http2Session` class represent an active communications
158 Each `Http2Session` instance will exhibit slightly different behaviors
161 `Http2Session` is operating. On the server side, user code should rarely
162 have occasion to work with the `Http2Session` object directly, with most
166 User code will not create `Http2Session` instances directly. Server-side
167 `Http2Session` instances are created by the `Http2Server` instance when a
168 new HTTP/2 connection is received. Client-side `Http2Session` instances are
171 #### `Http2Session` and sockets argument
173 Every `Http2Session` instance is associated with exactly one [`net.Socket`][] or
[all …]
Dperf_hooks.md586 If `performanceEntry.name` is equal to `Http2Session`, the `detail` will
589 * `bytesRead` {number} The number of bytes received for this `Http2Session`.
590 * `bytesWritten` {number} The number of bytes sent for this `Http2Session`.
592 `Http2Session`.
593 * `framesSent` {number} The number of HTTP/2 frames sent by the `Http2Session`.
595 open during the lifetime of the `Http2Session`.
598 a `PING` frame has been sent on the `Http2Session`.
602 the `Http2Session`.
604 `Http2Session`.
Derrors.md1476 New HTTP/2 Streams may not be opened after the `Http2Session` has received a
1550 An action was performed on an `Http2Session` object that had already been
1593 socket attached to an `Http2Session`.
1660 The `Http2Session` closed with a non-zero error code.
1666 The `Http2Session` settings canceled.
1672 An attempt was made to connect a `Http2Session` object to a `net.Socket` or
1673 `tls.TLSSocket` that had already been bound to another `Http2Session` object.
1679 An attempt was made to use the `socket` property of an `Http2Session` that
/third_party/node/test/parallel/
Dtest-http2-client-onconnect-errors.js11 Http2Session,
69 Http2Session.prototype.request = () => currentError; class
Dtest-http2-binding.js13 assert(binding.Http2Session);
14 assert.strictEqual(typeof binding.Http2Session, 'function');
/third_party/node/lib/internal/http2/
Dcore.js1031 const handle = new binding.Http2Session(type);
1206 class Http2Session extends EventEmitter { class
1617 class ServerHttp2Session extends Http2Session {
1721 class ClientHttp2Session extends Http2Session {
2989 ObjectDefineProperty(Http2Session.prototype, 'setTimeout', setTimeoutValue);
3416 Http2Session, property
/third_party/node/tools/doc/
Dtype-parser.mjs150 'Http2Session': 'http2.html#class-http2session', property
/third_party/node/doc/changelogs/
DCHANGELOG_V8.md481 …hub.com/nodejs/node/commit/448922d0de)] - **doc**: add parameters for Http2Session:stream event (U…
483 …com/nodejs/node/commit/1a6a054899)] - **doc**: improve parameters for Http2Session:goaway event (U…
484 …ithub.com/nodejs/node/commit/98ed30f3f5)] - **doc**: improve docs for Http2Session:frameError (Ujj…
485 …hub.com/nodejs/node/commit/b32cf8fa40)] - **doc**: add parameters for Http2Session:error event (Uj…
491 …m/nodejs/node/commit/af5cebb326)] - **doc,http2**: add parameters for Http2Session:connect event (…
516 …https://github.com/nodejs/node/commit/0a8d0861f2)] - **http2**: safer Http2Session destructor (Ana…
985 * \[[`165d214a54`](https://github.com/nodejs/node/commit/165d214a54)] - **doc**: add Http2Session.c…
1078 ….com/nodejs/node/commit/fc40b7de46)] - **http2**: cleanup Http2Stream/Http2Session destroy (James …
2102 …ejs/node/commit/5390d7e374)] - **http2**: move uv\_prepare handle to `Http2Session` (Anna Hennings…
DCHANGELOG_V10.md2044 * Added a `'ping'` event to `Http2Session` that is emitted whenever a non-ack
3399 …https://github.com/nodejs/node/commit/dee250fd77)] - **http2**: safer Http2Session destructor (Ana…
3985 …hub.com/nodejs/node/commit/0e8805186f)] - **doc**: add parameters for Http2Session:stream event (U…
4022 …com/nodejs/node/commit/b47044ac0f)] - **doc**: improve parameters for Http2Session:goaway event (U…
4029 …ithub.com/nodejs/node/commit/7f6172b64b)] - **doc**: improve docs for Http2Session:frameError (Ujj…
4619 …hub.com/nodejs/node/commit/4c6a47f7d7)] - **doc**: add parameters for Http2Session:error event (Uj…
4675 * \[[`645516cd43`](https://github.com/nodejs/node/commit/645516cd43)] - **doc**: add Http2Session.c…
4729 …m/nodejs/node/commit/0799b60f50)] - **doc,http2**: add parameters for Http2Session:connect event (…
DCHANGELOG_V9.md563 …m/nodejs/node/commit/420d56c2ea)] - **src**: don't touch js object in Http2Session dtor (Ben Noord…
1145 …* Refactoring and cleanup of Http2Session and Http2Stream destroy (James M Snell) [#17406](https:/…
1276 ….com/nodejs/node/commit/5abb60933e)] - **http2**: cleanup Http2Stream/Http2Session destroy (James …
2054 …ejs/node/commit/224ea159ae)] - **http2**: move uv\_prepare handle to `Http2Session` (Anna Hennings…

12