James M Snell
6fc4d174b5
http2: refactor and cleanup http2
...
* cleanup constants in http2 binding
The error constants were just doing some weird things. Cleanup
and improve maintainability.
* simplify settings to reduce duplicate code
* improve style consistency and correctness
Use snake_case for getters and setters at c++ level,
avoid unnecessary use of enums,
use consistent style for exported vs. internal constants,
avoid unnecessary memory info reporting,
use setters/getters for flags_ for improved code readability
* make EmitStatistics function private
* un-nest Http2Settings and Http2Ping
* refactoring and cleanup of Http2Settings and Http2Ping
* avoid ** syntax for readability
The **session and **stream syntax for getting the underlying
nghttp2 pointers is not ideal for readability
* use const references for Http2Priority
* remove unnecessary GetStream function
* refactor Http2Scope to use BaseObjectPtr
* move utility function to anonymous namespace
* refactor and simplify Origins
* Use an AllocatedBuffer instead of MaybeStackBuffer
* Use a const reference instead of pointer
* use BaseObjectPtr for Http2Streams map
* move MemoryInfo impl to cc
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/32884
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
2020-04-27 20:40:45 +01:00
..
2020-04-27 20:40:44 +01:00
2020-04-17 13:43:38 -04:00
2020-04-07 16:30:16 +01:00
2020-03-30 10:22:11 +02:00
2020-03-13 15:07:47 +01:00
2020-03-24 11:21:00 -07:00
2020-03-15 13:29:34 -04:00
2020-03-07 18:39:14 -08:00
2020-04-07 16:25:15 +01:00
2020-04-14 11:04:53 +01:00
2020-03-07 18:39:14 -08:00
2020-04-14 11:03:57 +01:00
2020-03-12 16:56:35 +01:00
2020-04-07 16:25:15 +01:00
2020-03-24 11:21:00 -07:00
2020-03-24 11:21:00 -07:00
2020-03-24 11:21:00 -07:00
2020-04-14 11:03:55 +01:00
2020-03-24 11:21:00 -07:00
2020-04-07 16:25:15 +01:00
2020-03-24 11:21:00 -07:00
2020-03-24 11:21:00 -07:00
2020-03-24 11:21:00 -07:00
2020-03-24 11:21:00 -07:00
2020-03-24 11:21:00 -07:00
2020-03-24 11:21:00 -07:00
2020-04-07 16:25:15 +01:00
2020-03-24 11:21:00 -07:00
2020-03-13 10:51:54 +01:00
2020-04-07 16:25:15 +01:00
2020-04-07 16:25:15 +01:00
2020-03-24 11:21:00 -07:00
2020-03-24 11:21:00 -07:00
2020-03-24 11:21:00 -07:00
2020-03-24 11:21:00 -07:00
2020-04-07 16:25:15 +01:00
2020-04-07 16:25:15 +01:00
2020-04-07 16:30:16 +01:00
2020-03-20 14:22:18 +01:00
2020-03-27 23:16:20 -07:00
2020-04-14 11:03:42 +01:00
2020-03-28 14:37:32 +01:00
2020-03-28 14:37:32 +01:00
2020-04-07 16:25:15 +01:00
2020-02-25 06:14:32 +01:00
2020-03-11 17:02:47 +01:00
2020-03-30 17:13:45 +02:00
2020-02-22 22:09:55 -04:00
2020-03-05 15:24:17 -04:00
2020-03-09 19:46:12 -07:00
2020-04-17 13:43:38 -04:00
2020-03-18 10:22:42 -07:00
2020-03-18 10:22:42 -07:00
2020-03-30 17:21:13 +02:00
2020-04-17 13:43:40 -04:00
2020-04-17 13:43:38 -04:00
2020-03-07 10:47:12 -08:00
2020-02-29 09:34:43 +01:00
2020-02-29 09:34:43 +01:00
2020-03-11 17:04:11 +01:00
2020-03-09 12:37:29 +01:00
2020-03-28 14:36:27 +01:00
2020-04-07 16:25:15 +01:00
2020-02-18 22:15:50 -08:00
2020-03-30 17:09:35 +02:00
2020-03-11 16:47:29 +01:00
2020-03-30 17:10:25 +02:00
2020-04-07 16:25:16 +01:00
2020-03-30 10:18:58 +02:00
2020-04-14 11:03:20 +01:00
2020-03-30 10:18:58 +02:00
2020-04-07 16:25:16 +01:00
2020-02-25 12:07:30 +01:00
2020-03-01 18:38:49 +01:00
2020-03-06 07:19:12 -08:00
2020-04-07 16:30:11 +01:00
2020-04-07 16:25:15 +01:00
2020-04-27 20:40:45 +01:00
2020-04-07 16:25:15 +01:00
2020-04-07 16:25:15 +01:00
2020-02-29 09:34:43 +01:00
2020-03-11 19:33:48 +01:00
2020-04-07 16:25:15 +01:00
2020-03-10 23:44:49 +01:00
2020-03-07 20:51:12 +01:00
2020-03-07 20:51:12 +01:00
2020-03-10 18:15:01 +01:00
2020-03-10 23:44:49 +01:00
2020-03-10 18:15:01 +01:00
2020-03-27 16:01:24 +01:00
2020-03-10 18:15:01 +01:00
2020-03-27 16:58:56 -07:00
2020-03-07 20:51:12 +01:00
2020-03-07 20:51:12 +01:00
2020-03-07 20:51:12 +01:00
2020-03-07 20:51:12 +01:00
2020-04-07 16:28:20 +01:00
2020-03-29 22:38:57 +02:00
2020-03-29 22:38:57 +02:00
2020-03-30 10:22:11 +02:00
2020-03-10 18:15:01 +01:00
2020-04-07 16:25:15 +01:00
2020-03-29 22:46:39 -07:00
2020-04-07 16:25:12 +01:00
2020-04-07 16:25:15 +01:00
2020-04-14 11:03:30 +01:00
2020-04-14 11:03:52 +01:00
2020-04-14 11:03:30 +01:00
2020-04-14 11:03:29 +01:00
2020-03-02 12:51:31 -08:00
2020-04-14 11:03:30 +01:00
2020-04-14 11:03:30 +01:00
2020-04-14 11:03:30 +01:00
2020-04-14 11:03:30 +01:00
2020-04-14 11:03:30 +01:00
2020-04-14 11:03:30 +01:00
2020-03-05 07:10:01 -08:00
2020-04-07 16:25:15 +01:00
2020-03-05 11:52:53 -08:00
2020-03-29 22:35:33 +02:00
2020-03-15 10:40:15 +05:30
2020-04-27 20:40:41 +01:00
2020-04-07 16:25:10 +01:00
2020-03-30 17:21:13 +02:00
2020-03-09 13:09:57 +01:00
2020-03-24 09:45:25 +01:00
2020-02-29 09:34:43 +01:00
2020-03-24 09:45:25 +01:00
2020-04-14 11:03:52 +01:00
2020-02-25 12:07:30 +01:00
2020-02-25 12:07:30 +01:00
2020-04-07 16:25:15 +01:00
2020-03-09 12:44:16 +01:00
2020-04-14 11:03:43 +01:00
2020-04-17 12:36:40 -04:00
2020-03-15 13:29:34 -04:00
2020-04-07 16:28:18 +01:00
2020-04-07 16:28:19 +01:00
2020-04-07 16:25:15 +01:00
2020-04-27 20:40:42 +01:00
2020-04-07 16:25:15 +01:00
2020-04-07 16:25:15 +01:00
2020-04-07 16:25:15 +01:00
2020-03-13 09:58:13 +01:00
2020-04-07 16:25:15 +01:00
2020-03-09 13:23:16 +01:00
2020-04-07 16:25:15 +01:00
2020-02-27 17:33:56 -08:00
2020-04-07 16:25:15 +01:00
2020-02-25 12:07:30 +01:00
2020-03-09 13:22:14 +01:00
2020-04-07 16:25:15 +01:00
2020-02-29 09:34:43 +01:00
2020-03-25 15:20:22 +01:00
2020-03-25 15:20:22 +01:00
2020-03-03 19:23:01 +01:00
2020-03-26 14:48:18 -04:00
2020-04-07 16:30:17 +01:00
2020-02-24 12:20:49 +01:00
2020-03-27 15:55:21 +01:00
2020-03-07 07:27:02 +01:00
2020-02-29 09:34:43 +01:00
2020-03-07 07:27:02 +01:00
2020-03-07 07:27:02 +01:00
2020-03-07 07:27:02 +01:00
2020-02-29 09:34:43 +01:00
2020-02-25 12:07:30 +01:00
2020-02-25 12:07:30 +01:00
2020-02-29 09:34:43 +01:00
2020-02-29 09:34:43 +01:00
2020-03-17 14:49:49 +01:00
2020-03-30 10:20:21 +02:00
2020-03-23 22:54:13 -07:00
2020-04-14 11:04:53 +01:00
2020-02-28 22:02:12 -08:00
2020-03-30 17:21:13 +02:00
2020-03-12 16:53:29 +01:00
2020-02-23 01:21:04 -04:00
2020-04-07 16:25:15 +01:00
2020-04-07 16:25:15 +01:00
2020-03-11 17:33:01 +01:00
2020-03-23 07:37:40 -07:00
2020-03-18 13:09:26 +01:00
2020-03-07 07:27:02 +01:00
2020-02-29 09:34:43 +01:00
2020-02-29 09:34:43 +01:00
2020-02-29 09:34:43 +01:00
2020-02-29 09:34:43 +01:00
2020-04-07 16:25:15 +01:00
2020-03-20 10:21:48 -04:00
2020-04-07 16:28:18 +01:00
2020-04-14 11:03:31 +01:00
2020-04-07 16:25:15 +01:00
2020-03-12 19:51:25 +01:00
2020-03-18 16:37:20 -07:00
2020-03-18 16:37:20 -07:00
2020-02-26 17:52:39 +08:00
2020-03-26 02:37:46 +00:00
2020-04-07 16:25:15 +01:00
2020-04-07 16:30:14 +01:00
2020-04-17 13:43:39 -04:00
2020-04-07 16:25:12 +01:00
2020-04-07 16:25:12 +01:00
2020-04-07 16:25:15 +01:00
2020-02-19 19:54:59 +01:00
2020-04-07 16:30:18 +01:00
2020-04-07 16:30:18 +01:00
2020-04-07 16:28:20 +01:00
2020-04-07 16:28:19 +01:00
2020-03-13 10:50:30 +01:00
2020-03-13 10:50:30 +01:00
2020-03-17 13:27:16 -07:00
2020-04-07 16:28:19 +01:00
2020-04-07 16:30:14 +01:00
2020-04-07 16:30:14 +01:00
2020-03-19 10:56:45 +01:00
2020-02-25 12:07:30 +01:00
2020-02-25 12:07:30 +01:00
2020-02-29 09:34:43 +01:00
2020-03-11 17:30:22 +01:00