Home
last modified time | relevance | path

Searched refs:Http2Session (Results 1 – 25 of 28) 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.cc1113 session = std::make_unique<Http2Session>(this); in connection_made()
1157 session = std::make_unique<Http2Session>(this); in connection_made()
/third_party/node/src/
Dnode_http2.cc60 const Http2Session::Callbacks Http2Session::callback_struct_saved[2] = {
77 Http2Scope::Http2Scope(Http2Session* session) : session_(session) { in Http2Scope()
233 Http2Settings::Http2Settings(Http2Session* session, in Http2Settings()
285 void Http2Settings::Update(Http2Session* session, get_setting fn) { in Update()
350 const char* Http2Session::TypeName() const { in TypeName()
411 Http2Session::Callbacks::Callbacks(bool kHasGetPaddingCallback) { in Callbacks()
445 void Http2Session::StopTrackingRcbuf(nghttp2_rcbuf* buf) { in StopTrackingRcbuf()
449 void Http2Session::CheckAllocatedSize(size_t previous_size) const { in CheckAllocatedSize()
453 void Http2Session::IncreaseAllocatedSize(size_t size) { in IncreaseAllocatedSize()
457 void Http2Session::DecreaseAllocatedSize(size_t size) { in DecreaseAllocatedSize()
[all …]
Dnode_http2.h163 class Http2Session; variable
174 explicit Http2Scope(Http2Session* session);
178 BaseObjectPtr<Http2Session> session_;
260 typedef Http2Session allocator_t;
273 Http2Session* session,
283 Http2Session* session() { return session_.get(); } in session()
284 const Http2Session* session() const { return session_.get(); } in session()
468 Http2Stream(Http2Session* session,
476 BaseObjectWeakPtr<Http2Session> session_; // The Parent HTTP/2 Session
504 friend class Http2Session; variable
[all …]
DREADME.md769 void Http2Session::Request(const FunctionCallbackInfo<Value>& args) {
770 Http2Session* session;
/third_party/node/doc/api/
Dhttp2.md103 ### Class: `Http2Session`
110 Instances of the `http2.Http2Session` class represent an active communications
114 Each `Http2Session` instance will exhibit slightly different behaviors
117 `Http2Session` is operating. On the server side, user code should rarely
118 have occasion to work with the `Http2Session` object directly, with most
122 User code will not create `Http2Session` instances directly. Server-side
123 `Http2Session` instances are created by the `Http2Server` instance when a
124 new HTTP/2 connection is received. Client-side `Http2Session` instances are
127 #### `Http2Session` and sockets argument
129 Every `Http2Session` instance is associated with exactly one [`net.Socket`][] or
[all …]
Derrors.md1065 New HTTP/2 Streams may not be opened after the `Http2Session` has received a
1128 An action was performed on an `Http2Session` object that had already been
1165 socket attached to an `Http2Session`.
1222 The `Http2Session` closed with a non-zero error code.
1227 The `Http2Session` settings canceled.
1232 An attempt was made to connect a `Http2Session` object to a `net.Socket` or
1233 `tls.TLSSocket` that had already been bound to another `Http2Session` object.
1238 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.js995 const handle = new binding.Http2Session(type);
1163 class Http2Session extends EventEmitter { class
1558 class ServerHttp2Session extends Http2Session {
1662 class ClientHttp2Session extends Http2Session {
2903 ObjectDefineProperty(Http2Session.prototype, 'setTimeout', setTimeoutValue);
3343 Http2Session, property
/third_party/node/tools/doc/
Dtype-parser.mjs113 'Http2Session': 'http2.html#http2_class_http2session', property
/third_party/node/doc/changelogs/
DCHANGELOG_V8.md470 …hub.com/nodejs/node/commit/448922d0de)] - **doc**: add parameters for Http2Session:stream event (U…
472 …com/nodejs/node/commit/1a6a054899)] - **doc**: improve parameters for Http2Session:goaway event (U…
473 …ithub.com/nodejs/node/commit/98ed30f3f5)] - **doc**: improve docs for Http2Session:frameError (Ujj…
474 …hub.com/nodejs/node/commit/b32cf8fa40)] - **doc**: add parameters for Http2Session:error event (Uj…
480 …m/nodejs/node/commit/af5cebb326)] - **doc,http2**: add parameters for Http2Session:connect event (…
505 …https://github.com/nodejs/node/commit/0a8d0861f2)] - **http2**: safer Http2Session destructor (Ana…
970 * [[`165d214a54`](https://github.com/nodejs/node/commit/165d214a54)] - **doc**: add Http2Session.co…
1063 ….com/nodejs/node/commit/fc40b7de46)] - **http2**: cleanup Http2Stream/Http2Session destroy (James …
2079 …dejs/node/commit/5390d7e374)] - **http2**: move uv_prepare handle to `Http2Session` (Anna Hennings…
DCHANGELOG_V10.md1778 * Added a `'ping'` event to `Http2Session` that is emitted whenever a non-ack
3126 …https://github.com/nodejs/node/commit/dee250fd77)] - **http2**: safer Http2Session destructor (Ana…
3706 …hub.com/nodejs/node/commit/0e8805186f)] - **doc**: add parameters for Http2Session:stream event (U…
3743 …com/nodejs/node/commit/b47044ac0f)] - **doc**: improve parameters for Http2Session:goaway event (U…
3750 …ithub.com/nodejs/node/commit/7f6172b64b)] - **doc**: improve docs for Http2Session:frameError (Ujj…
4339 …hub.com/nodejs/node/commit/4c6a47f7d7)] - **doc**: add parameters for Http2Session:error event (Uj…
4395 * [[`645516cd43`](https://github.com/nodejs/node/commit/645516cd43)] - **doc**: add Http2Session.co…
4449 …m/nodejs/node/commit/0799b60f50)] - **doc,http2**: add parameters for Http2Session:connect event (…
DCHANGELOG_V9.md545 …m/nodejs/node/commit/420d56c2ea)] - **src**: don't touch js object in Http2Session dtor (Ben Noord…
1121 …* Refactoring and cleanup of Http2Session and Http2Stream destroy (James M Snell) [#17406](https:/…
1252 ….com/nodejs/node/commit/5abb60933e)] - **http2**: cleanup Http2Stream/Http2Session destroy (James …
2026 …dejs/node/commit/224ea159ae)] - **http2**: move uv_prepare handle to `Http2Session` (Anna Hennings…
DCHANGELOG_V14.md2420 …e/commit/c455b848d9)] - **http2**: centralise socket event binding in Http2Session (Momtchil Momtc…
3684 …/nodejs/node/commit/8457033d83)] - **http2**: reuse .\_onTimeout() in Http2Session and Http2Stream…
4493 * [[`f3682102dc`](https://github.com/nodejs/node/commit/f3682102dc)] - **src**: give Http2Session J…

12