Commit Graph

1133 Commits

Author SHA1 Message Date
afe6da5db2 Merge upstream/main into add-ws-transport
Resolved conflicts in:
- .gitignore: Combined JavaScript interop and Sphinx build ignores
- libp2p/__init__.py: Integrated QUIC transport support with WebSocket transport
- libp2p/network/swarm.py: Used upstream's improved listener handling
- pyproject.toml: Kept both WebSocket and QUIC dependencies

This merge brings in:
- QUIC transport implementation
- Enhanced swarm functionality
- Improved peer discovery
- Better error handling
- Updated dependencies and documentation

WebSocket transport implementation remains intact and functional.
2025-09-07 23:47:41 +02:00
396812e84a Experimental: Add comprehensive WebSocket and WSS implementation with tests
- Implemented full WSS support with TLS configuration
- Added handshake timeout and connection state tracking
- Created comprehensive test suite with 13+ WSS unit tests
- Added Python-to-Python WebSocket peer-to-peer tests
- Implemented multiaddr parsing for /ws, /wss, /tls/ws formats
- Added connection state tracking and concurrent close handling
- Created standalone WebSocket client for testing
- Fixed circular import issues with multiaddr utilities
- Added debug tools for WebSocket URL testing

All WebSocket transport functionality is complete and working.
Tests demonstrate WebSocket transport works correctly at the transport layer.
Higher-level libp2p protocol compatibility issues remain (same as JS interop).
2025-09-07 23:44:17 +02:00
09c9709a3e Merge remote-tracking branch 'upstream/main' 2025-09-04 21:27:51 +00:00
2fe5882013 fix: add quic utils test and improve connection performance 2025-09-04 21:25:37 +00:00
56732a1506 Merge branch 'main' into fix_pubsub_msg_id_type_inconsistency 2025-09-04 16:26:01 +05:30
2ee3e0b054 Merge branch 'main' into main 2025-09-04 16:13:06 +05:30
5ec1671608 Merge branch 'main' into issue-798 2025-09-04 14:14:31 +05:30
69a0d3da9d Merge branch 'main' into main 2025-09-04 14:13:20 +05:30
f54a14b713 Merge branch 'main' into issue-798 2025-09-04 13:41:45 +05:30
d0c81301b5 fix: quic transport mock in quic connection 2025-09-02 18:47:07 +00:00
d2d4c4b451 fix: proper connection config setup 2025-09-02 18:27:47 +00:00
33730bdc48 fix: type assertion for config class 2025-09-02 16:39:38 +00:00
159d2cc322 Merge remote-tracking branch 'upstream/main' 2025-09-02 16:16:21 +00:00
b8217bb8a8 Merge branch 'main' into fix_pubsub_msg_id_type_inconsistency 2025-09-02 10:16:17 +05:30
d385cb45cf Merge branch 'libp2p:main' into fix/cross_platform_path_tests 2025-09-02 03:22:56 +05:30
9df542f97f Merge branch 'main' into fix_multiselect_negotiate_type 2025-09-02 02:38:33 +05:30
7a4c955c98 Merge branch 'main' into fix/issue-883-transport-issues-todos 2025-09-02 01:50:14 +05:30
14a74fdbd1 Merge branch 'main' into fix/cross_platform_path_tests 2025-09-02 01:42:11 +05:30
934f49af83 Merge branch 'main' into fix_multiselect_negotiate_type 2025-09-02 01:40:40 +05:30
145727a9ba Refactor logging code: Remove unnecessary blank lines in logging setup and cleanup functions for improved readability. Update tests to reflect formatting changes. 2025-09-02 01:39:24 +05:30
84c1a7031a Enhance logging cleanup: Introduce global handler management for proper resource cleanup on exit and during logging setup. Update tests to ensure file handlers are closed correctly across platforms. 2025-09-02 01:23:12 +05:30
fc6b290c56 Merge branch 'main' into fix_multiselect_negotiate_type 2025-09-02 01:08:21 +05:30
20edc3830a Merge branch 'main' into fix_pubsub_msg_id_type_inconsistency 2025-09-02 01:07:16 +05:30
ef6557518c Merge branch 'main' into pubsub-record 2025-09-02 01:01:08 +05:30
6742dd38f7 Merge branch 'main' into fix/cross_platform_path_tests 2025-09-02 01:00:23 +05:30
aad87f983f Adress documentation comment 2025-09-01 11:58:42 +01:00
7d6eb28d7c message inconsistency fixed 2025-09-01 09:48:08 +05:30
64ccce17eb fix(app): 882 Comprehensive cross-platform path handling utilities 2025-09-01 02:03:51 +05:30
6a24b138dd feat: Add cross-platform path utilities module 2025-09-01 01:35:32 +05:30
9749be6574 fix: refine selection of quic transport while init 2025-08-31 16:07:41 +00:00
186113968e chore: remove unwanted code, fix type issues and comments 2025-08-31 13:15:51 +00:00
59e1d9ae39 address architectural refactoring discussed 2025-08-31 01:38:29 +01:00
31040931ea fix: remove unused upgrade_listener function (Issue 2 from #726) 2025-08-30 23:44:49 +02:00
8e74f944e1 update multiaddr dep 2025-08-30 14:18:14 +05:30
2c03ac46ea fix: Peer ID verification during dial (#7) 2025-08-30 14:08:53 +05:30
58433f9b52 fix: changes to opening new stream, setting quic connection parameters
1. Do not dial to open a new stream, use existing swarm connection in quic transport to open new stream
2. Derive values from quic config for quic stream configuration
3. Set quic-v1 config only if enabled
2025-08-30 14:08:53 +05:30
933741b190 fix: allow accept stream to wait indefinitely 2025-08-30 14:08:53 +05:30
760f94bd81 fix: quic maddr test 2025-08-30 14:08:53 +05:30
6d1e53a4e2 fix: ignore peer id derivation for quic dial 2025-08-30 14:08:53 +05:30
5ed3707a51 fix: use ASN.1 format certificate extension 2025-08-30 14:08:53 +05:30
84c9ddc2dd chore: cleanup and doc gen fixes 2025-08-30 14:08:53 +05:30
a6ff93122b chore: fix linting issues 2025-08-30 14:08:53 +05:30
8e6e88140f fix: add support for rsa, ecdsa keys in quic 2025-08-30 14:08:53 +05:30
342ac746f8 fix: client certificate verification done 2025-08-30 14:08:52 +05:30
b3f0a4e8c4 DEBUG: client certificate at server 2025-08-30 14:08:32 +05:30
0f64bb49b5 chore: log cleanup 2025-08-30 14:08:22 +05:30
03bf071739 chore: cleanup and near v1 quic impl 2025-08-30 14:08:22 +05:30
c15c317514 fix: accept stream on server side 2025-08-30 14:08:22 +05:30
6c45862fe9 fix: succesfull echo example completed 2025-08-30 14:08:22 +05:30
8f0cdc9ed4 fix: succesfull echo 2025-08-30 14:08:22 +05:30