Commit Graph

  • d8bd97cd8c refactor: remove parking lot refactor/remove-parking-lot sinu 2024-06-26 09:20:12 -07:00
  • 8bd5d40927 chore: prepare v0.13.3 (#192) master João Oliveira 2024-06-07 21:30:21 +01:00
  • 4e80263841 fix: wake up readers after setting the state to RecvClosed (#190) KOVACS Krisztian 2024-06-07 19:06:28 +02:00
  • 5709e1b45c deps: Use web-time instead of instant (#191) Yiannis Marangos 2024-06-07 19:49:59 +03:00
  • 24561a62ba Prepare v0.12.2 (#187) João Oliveira 2024-04-30 19:41:08 +01:00
  • 460baf2ccb Merge pull request from GHSA-3999-5ffv-wp2r João Oliveira 2024-04-30 18:58:49 +01:00
  • af8f6935c1 address new review João Oliveira 2024-03-22 17:57:30 +00:00
  • e154864766 address review João Oliveira 2024-03-15 14:47:35 +00:00
  • 286728026d use pending_read_frame and pending_write_frame separately João Oliveira 2024-03-13 14:24:56 +00:00
  • 297e9eba1f set pending_frame on main poll, João Oliveira 2024-03-04 12:18:10 +00:00
  • 61003c53ce feat: switch pending_frames João Oliveira 2024-02-28 22:59:14 +00:00
  • cf6456f55f chore: Update .github/workflows/stale.yml [skip ci] GitHub 2024-01-31 16:50:44 +00:00
  • 461e695daf build(deps): Update env_logger requirement from 0.10 to 0.11 (#184) dependabot[bot] 2024-01-21 11:37:58 -08:00
  • 618b141786 fix(wasm): use instant::{Duration, Instant} (#182) Max Inden 2023-12-06 19:07:09 +01:00
  • 68a9e3d079 feat: auto-tune (dynamic) stream receive window (#176) Max Inden 2023-12-06 13:24:22 +01:00
  • 16ffe54b1c chore: remove WindowUpdateMode::OnReceive (#179) Max Inden 2023-11-27 13:53:09 +01:00
  • 1e46505721 chore: fix minor warnings (#181) Max Inden 2023-11-25 10:13:16 +01:00
  • e0b0f495cf chore: move to Rust edition 2021 (#180) Max Inden 2023-11-25 10:12:55 +01:00
  • b2528d836f chore: deprecate WindowUpdateMode::OnReceive (#177) Max Inden 2023-11-24 10:30:37 +01:00
  • 93b70626f7 build(deps): Bump actions/checkout from 3 to 4 (#173) dependabot[bot] 2023-09-05 09:38:35 +10:00
  • d0d9d6689e docs: remove mentions of old API components (#172) Hung-I Wang 2023-08-20 19:29:21 +08:00
  • fa0429ba07 chore: prepare v0.12.0 (#169) Max Inden 2023-07-20 13:27:39 +02:00
  • dcff3d5bf4 fix: garbage collect Stream when dropped (#167) Andrew Schran 2023-07-10 23:24:53 -04:00
  • e7c17ff667 feat: don't allow to open more than 256 unacknowledged streams (#153) Thomas Eizinger 2023-07-09 10:12:38 +01:00
  • 69404a1b9d feat: remove Control and ControlledConnection (#164) Thomas Eizinger 2023-07-03 15:28:24 +01:00
  • 34dcb97a6e build(deps): Update futures_ringbuf requirement from 0.3.1 to 0.4.0 (#161) dependabot[bot] 2023-06-06 05:14:28 +02:00
  • 93d8638425 refactor: move more tests to poll-API based interface (#158) Thomas Eizinger 2023-05-29 05:55:45 +02:00
  • fe95d02d72 chore: prepare v0.11.1 (#160) Max Inden 2023-05-26 02:10:09 +02:00
  • 52c725b365 fix: avoid race condition between pending frames and closing stream (#156) Thomas Eizinger 2023-05-24 04:34:11 +02:00
  • 88ed4dfc7a build(deps): Update criterion requirement from 0.4 to 0.5 (#159) dependabot[bot] 2023-05-24 04:15:15 +02:00
  • 72ccd5734f build(deps): Bump actions/stale from 6 to 7 (#151) dependabot[bot] 2022-12-30 13:25:46 +01:00
  • 401e597d8b fix: Remove dead link to README.md (#148) Max Inden 2022-12-01 21:41:32 +01:00
  • 5d48c22c8d chore: Prepare v0.11.0 (#147) Max Inden 2022-12-01 21:33:16 +01:00
  • 2bf70639dc build(deps): Update env_logger requirement from 0.9 to 0.10 (#146) dependabot[bot] 2022-12-01 18:12:20 +01:00
  • e59d8a55cf Merge pull request #142 from thomaseizinger/poll-style Thomas Eizinger 2022-11-26 09:06:03 +11:00
  • 63938b1df3 Bump version and add changelog entry Thomas Eizinger 2022-11-23 12:12:31 +11:00
  • 1ca32e6248 Use doc link Thomas Eizinger 2022-11-14 15:08:53 +11:00
  • 27ed7ac5a6 Match exhaustively Thomas Eizinger 2022-11-14 15:08:20 +11:00
  • 1525cf804b Fix typo Thomas Eizinger 2022-11-14 15:06:51 +11:00
  • 654e38aef7 Remove comment and improve variable naming Thomas Eizinger 2022-11-14 15:06:23 +11:00
  • a0ba23b2a4 Create workspace Thomas Eizinger 2022-11-03 11:24:21 +11:00
  • 3941cdc620 Add test for poll-based API Thomas Eizinger 2022-10-25 16:04:22 +11:00
  • 79c14790a3 Make control as sister module of connection Thomas Eizinger 2022-10-25 15:23:35 +11:00
  • 0ac90a0805 Rewrite Control to be a layer on top of Connection Thomas Eizinger 2022-10-24 21:29:30 +11:00
  • ce57e251fb Don't require T to be Send + 'static' Thomas Eizinger 2022-10-25 15:11:25 +11:00
  • 8279c27ea0 Implement connection cleanup as manual state machine Thomas Eizinger 2022-10-25 16:18:47 +11:00
  • 47c684bb35 Implement connection closing as manual state machine Thomas Eizinger 2022-10-20 14:55:02 +11:00
  • 2bae656904 Move Drop impl from Active to Connection Thomas Eizinger 2022-10-20 14:53:20 +11:00
  • fe7d00056b Introduce Frame::close_stream ctor Thomas Eizinger 2022-10-20 14:44:17 +11:00
  • 7dcecdeda9 Handle ControlCommand outside of ConnectionState::poll Thomas Eizinger 2022-10-20 11:59:08 +11:00
  • 370f5bca07 Track reply sender outside of close function Thomas Eizinger 2022-10-20 11:50:42 +11:00
  • 19ee6e8595 Add docs to state variants Thomas Eizinger 2022-10-12 13:30:14 +11:00
  • 527df19bb9 Rename Failing to Cleanup Thomas Eizinger 2022-10-12 13:28:17 +11:00
  • ff2708000b Don't fail if connection got closed gracefully Thomas Eizinger 2022-10-12 13:26:09 +11:00
  • bb96cd9a74 Improve docs Thomas Eizinger 2022-10-12 12:07:53 +11:00
  • 6ca0d1ff3e Improve naming of poll fn on ConnectionState Thomas Eizinger 2022-10-12 12:05:49 +11:00
  • 2df23f0cf6 Implement into_stream by directly calling poll_next Thomas Eizinger 2022-10-12 12:05:19 +11:00
  • f9d3f4bbd0 Implement ConnectionState::poll Thomas Eizinger 2022-10-12 12:01:33 +11:00
  • 527012d228 Don't pause control_receiver Thomas Eizinger 2022-10-12 11:42:28 +11:00
  • fd886eefd4 Implement shutdown procedurally Thomas Eizinger 2022-10-12 11:35:36 +11:00
  • a1db18ecaf Inline on_close_connection Thomas Eizinger 2022-10-12 10:52:01 +11:00
  • d63cde2250 Track closed state in connection state enum Thomas Eizinger 2022-10-12 10:42:31 +11:00
  • f776a43671 Introduce internal ConnectionState enum Thomas Eizinger 2022-10-12 10:30:04 +11:00
  • b37e48468a Fail if we want to double close a connection Thomas Eizinger 2022-10-12 09:19:09 +11:00
  • 0ebd9cc376 Prioritise control and stream commands over reading the socket Thomas Eizinger 2022-10-12 09:09:52 +11:00
  • 3817398a2d Split on_stream_command Thomas Eizinger 2022-10-12 08:54:25 +11:00
  • 5e6460959f Use whitespace Thomas Eizinger 2022-10-12 08:51:58 +11:00
  • 3a6a37488d Split on_control_command Thomas Eizinger 2022-10-12 08:50:55 +11:00
  • e02bdbc879 Minimise diff Thomas Eizinger 2022-10-09 00:11:49 +11:00
  • c1e805dcb2 Introduce Connection::poll function Thomas Eizinger 2022-10-08 22:36:42 +11:00
  • 6a55933cff Remove async from a bunch of functions Thomas Eizinger 2022-10-08 22:21:56 +11:00
  • d5d5ef4bb6 Handle GoAway logic outside of on_stream_command Thomas Eizinger 2022-10-08 22:20:23 +11:00
  • 6234e6f38d Handle socket closing outside of on_control_command Thomas Eizinger 2022-10-08 22:19:07 +11:00
  • 54296c55cf Make gargabe_collect not async Thomas Eizinger 2022-10-08 22:00:04 +11:00
  • 9af35b8eb2 Remove unnecessary Option Thomas Eizinger 2022-10-08 21:47:45 +11:00
  • 9bd4a3497a Fix clippy warnings Thomas Eizinger 2022-10-25 18:01:56 +11:00
  • 2fcc56712a tests/: Refactor (#145) Thomas Eizinger 2022-11-03 05:46:02 +11:00
  • 04e42d9434 build(deps): Bump actions/stale from 5 to 6 (#141) dependabot[bot] 2022-09-22 17:57:27 +02:00
  • 2688277d30 build(deps): Bump actions/stale from 3 to 5 (#140) dependabot[bot] 2022-09-21 15:20:15 +02:00
  • 596339fde3 chore: Update .github/workflows/stale.yml [skip ci] libp2p-mgmt-read-write[bot] 2022-09-19 13:40:36 +00:00
  • a8d7753892 build(deps): Update criterion requirement from 0.3 to 0.4 (#139) dependabot[bot] 2022-09-15 23:44:00 +02:00
  • e6e10f8262 src/connection: Process command or socket result immediately (#138) Max Inden 2022-08-05 08:43:10 +02:00
  • 233199d775 *: Introduce rustfmt (#134) Thomas Eizinger 2022-06-03 16:30:17 +02:00
  • dcf87521e8 *: Prepare v0.10.1 (#133) Max Inden 2022-03-14 19:56:34 +01:00
  • 26ffadc576 build(deps): Bump actions/checkout from 2.4.0 to 3 (#132) dependabot[bot] 2022-03-02 11:26:52 +01:00
  • 1cd84c8781 *: Prepare v0.10.1-rc.1 (#131) Max Inden 2022-02-25 18:59:50 +01:00
  • 058010157e src/connection: Flush socket while waiting for next frame Andre-Philippe Paquet 2022-02-25 12:52:28 -05:00
  • 25e7d27860 build(deps): Update tokio-util requirement from 0.6 to 0.7 (#129) dependabot[bot] 2022-02-14 21:00:27 +01:00
  • c475fb0b91 build(deps): update parking_lot requirement from 0.11 to 0.12 (#126) dependabot[bot] 2022-01-31 15:22:57 +01:00
  • 1c80ffbd6f Merge remote-tracking branch 'libp2p/develop' Max Inden 2022-01-13 17:24:05 +01:00
  • 94a93eecc8 Merge pull request #125 from mxinden/prepare-v0.10.0 Max Inden 2022-01-13 17:19:16 +01:00
  • b03804cc4c CHANGELOG: Prepare v0.10.0 Max Inden 2022-01-11 11:37:52 +01:00
  • 006ba63e63 Merge pull request #123 from libp2p/dependabot/github_actions/actions/checkout-2.4.0 Max Inden 2021-11-03 17:21:14 +01:00
  • c850b5364d build(deps): bump actions/checkout from 2.3.5 to 2.4.0 dependabot[bot] 2021-11-02 22:12:28 +00:00
  • 4680f13826 Merge pull request #122 from libp2p/dependabot/github_actions/actions/checkout-2.3.5 Max Inden 2021-10-18 18:08:32 +02:00
  • d12d69e087 build(deps): bump actions/checkout from 2.3.4 to 2.3.5 dependabot[bot] 2021-10-15 22:07:31 +00:00
  • 89a13656e2 Merge pull request #121 from libp2p/dependabot/cargo/env_logger-0.9 Max Inden 2021-07-16 15:52:43 +02:00
  • 9444015d1c build(deps): update env_logger requirement from 0.8 to 0.9 dependabot[bot] 2021-07-14 22:07:58 +00:00
  • d3685da9fe Merge pull request #120 from mxinden/default-on-read Max Inden 2021-06-08 10:33:28 +02:00
  • ab4fe4566e src/lib: Default to WindowUpdateMode::OnRead Max Inden 2021-06-03 11:04:33 +02:00