Commit Graph

87 Commits

Author SHA1 Message Date
3cc580bf99 bump virtual-net version 2024-04-09 00:30:41 +03:30
03678c9deb Merge branch 'master' into dproxy 2024-03-11 18:39:39 +11:00
03ca2dc7ea Update 0.x package versions 2024-03-03 11:46:58 +03:30
502957fae4 More minor linting fixes 2024-02-26 11:24:56 +11:00
192f3e8d7e Merge remote-tracking branch 'origin/master' into dproxy 2024-02-26 11:05:23 +11:00
0f80d24b2c tests: Disable flaky network tests on MUSL
Disable some flaky tests on MUSL for now to not block the CI.
Needs a proper investigation in the future.

Part of #4425
2024-02-25 12:51:56 +01:00
d034c50268 Resolved merge conflicts 2024-02-13 21:39:54 +11:00
e2cd9a97ce Fixed all linting errors 2024-02-07 14:06:26 +01:00
2197bb0cf8 fix(deps): Downgrade accidentally upgraded hyper-tungstenite
The new version was using hyper 1.0.
We need to wait with that until we can upgrade the whole stack,
including reqwest.
2024-02-01 19:44:54 +01:00
e12e14616a Finished a progress bar for the loading of a journal 2024-01-24 02:00:48 +11:00
41528eb1ca Fixed some compile issues 2024-01-23 04:28:24 +11:00
9d670374a4 update dependency 2024-01-10 21:13:11 +03:30
8069b10176 Update dependencies and remove unused dependencies 2024-01-10 03:29:49 +03:30
3b54706569 Merge remote-tracking branch 'origin/master' into dproxy 2024-01-05 06:03:21 +11:00
d80d469739 No longer re-exporting standard types in virtual-net 2024-01-04 22:36:42 +11:00
dd3bdb56dd First implementation of DProxy 2024-01-03 22:23:49 +11:00
9bb6f1887f Fixed a race condition in the virtual-net unit tests 2023-12-24 09:30:58 +11:00
0a32ca701a Merge remote-tracking branch 'origin/master' into dcgi 2023-12-23 20:51:47 +11:00
04c49aee4e Update 0.x package versions 2023-12-23 12:12:20 +03:30
7d796101f7 Merge remote-tracking branch 'origin/master' into dcgi 2023-12-20 11:45:27 +11:00
f163071fa2 Looks like the virtual-net tests don't work on Windows 2023-12-08 21:38:52 +08:00
bbe7246890 Switch tests over to the multi-threaded runtime to avoid deadlocks 2023-12-08 20:44:58 +08:00
de28dd4a35 Preparing the repo for use with "cargo nextest" 2023-12-08 15:17:23 +08:00
00a88732f4 The journal entries can now support zero copy operations 2023-11-21 21:12:13 +11:00
b31002831c Updated tugstsenite (#4236)
* Updated tugstsenite

* Create a virtual-net crate v0.6.1 with updated tungstenite crates

* Updated wasi-web Cargo.toml

* Bumped wasmer-deploy-cli

* Bumped wasmer-deploy-cli again
2023-10-02 17:44:56 +02:00
9302066d32 Update package versions 2023-09-28 16:37:08 +04:00
b3dde1aa76 Fixes for sockets (#4211)
* Removed the unsafe code used by the selector

* Fixed some potential race conditions on the normal polling

* Removed a debug step that was added earlier

* Fixed a warning

* Implemented some polling methods for read_ready and write_ready

* Cleaned some leftover code

* Fixed the connectivity issues, these were as follows:
- When registering a handler twice it would fail the second time
- DONTROUTE was being set which basically breaks all networking
- Poll was registered on the wrong events (this was introduced in this patch earlier rather than from mainline)
- The writable event was being triggered at the wrong time (i.e. either too early or two late) - converted to a non-blocking poll call instead
- Added a unit test so that this doesn't happen again

* Updated lock file

* Updated lock file

* Went backwards on some dependencies which are causing issues with the compiler version

* - Added more methods to the interest handler for expanded functionality
- Fixed the windows build issues
- Fixed some linting errors
- Fixed some epoll backwards compatible issues
- Implemented a unit tests for epoll to google

* Linting error and windows build fixes

* Removed the static selector

* Updated the lock file

* Re-enabled socket option DONTROUTE, issue was in wasix-libc

* Added a missing check for waiting backlog

* Added fixes for the listeners which were erroring out incorrectly

* Added some extra error handling

---------

Co-authored-by: ptitSeb <sebastien.chev@gmail.com>
2023-09-18 11:24:04 +01:00
94f27f81f6 Stability improvements (#4204)
* Fixed an issue where the socket address family was being corrupted due
to padding fields being incorrect used.

* Added a comment

* Faster compiles for debug by using release version of cranelift

* Added additional fixes for some missing parts of sockets

* Fixed a blocking issue inside an async and added sha256 caching of webc files

* Faster checksums for debug

* Removed error messages when a WASI instance shuts down and doing cleanups in parallel

* Reduced the logging level on WasiEnv cleanup code

* Fixed linter, wasi-web build, Windows build, the tests failling because of the lack of tockio multi threaded runtime and test-js

---------

Co-authored-by: ptitSeb <sebastien.chev@gmail.com>
2023-09-06 16:45:51 +02:00
c5f8fbbd11 Bumped virtual-mio crate to 0.2.0 2023-08-18 11:15:16 +02:00
e007a45f23 Bumped virtual-net crate to 0.5.0 (#4163) 2023-08-18 08:52:30 +00:00
eb805b9004 Test virtual-net bincode and mpsc only on linux (#4152)
* Test virtual-net bincode and mpsc only on linux

* Disable check_small_stack check on macos/aarch64 (different pagesize, test won't work there)

* Diabled all remaining tests of virtual-net on macOS

* Diabled other virtual-net tests for windows too
2023-08-17 19:20:52 +10:00
abdb3c0e26 Fixed a series of lint issues 2023-07-31 12:49:17 +10:00
05151a96ab Added virtual networking to the browser 2023-07-31 08:59:06 +10:00
7e1d386d71 Virtual net is now a dependency for wasmer-sh 2023-07-31 06:40:16 +10:00
30e52be17f Merge branch 'master' into tun-tap 2023-07-26 14:15:48 +10:00
30acca8a49 Reduced the warning level on channel closing for VPN sessions 2023-07-25 16:38:32 +10:00
fd43fbf4a9 Post release adjustments 2023-07-24 23:43:43 +02:00
cab8716e32 Fixed multiple bugs with the remote networking packet send and recv paths 2023-07-25 04:06:50 +10:00
01b1c4b705 Bumped the 0.x wasmer crates 2023-07-24 18:12:28 +02:00
57d7ab9180 Converted some sync operations to async operations 2023-07-24 15:26:02 +10:00
a4f5b4240e Bit more refactoring of the packages and implemented more channels 2023-07-20 23:12:49 +10:00
e530298112 Added support for hyper web socket with virtual-net 2023-07-20 14:43:31 +10:00
4ffd1e7fa7 Renamed the construction methods 2023-07-19 07:09:32 +10:00
558d41be53 Added more serialization formats 2023-07-19 07:03:16 +10:00
e816d66083 Finished the main client and server setup and added unit tests 2023-07-19 06:46:23 +10:00
5c5f7ec30f Fixed an issue with the borrow checker on async calls to remote networking 2023-07-18 18:29:34 +10:00
ebe22a068c Renamed two of the projects so they can be externally referenced 2023-07-18 09:50:08 +10:00
a9942a137d Tuntap device now has a plumbed in remote networking 2023-07-17 22:12:17 +10:00
0bf4bfcb62 Checking in the code for now 2023-07-17 20:32:59 +10:00
a1752704f8 Added the TunTap adapter 2023-07-17 11:32:44 +10:00