Commit Graph

20 Commits

Author SHA1 Message Date
866d86ccf7 Update 0.x package versions 2024-04-05 19:15:29 +03:30
dd3bdb56dd First implementation of DProxy 2024-01-03 22:23:49 +11: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
30e52be17f Merge branch 'master' into tun-tap 2023-07-26 14:15:48 +10:00
fd43fbf4a9 Post release adjustments 2023-07-24 23:43:43 +02:00
a4f5b4240e Bit more refactoring of the packages and implemented more channels 2023-07-20 23:12:49 +10:00
e816d66083 Finished the main client and server setup and added unit tests 2023-07-19 06:46:23 +10:00
ebe22a068c Renamed two of the projects so they can be externally referenced 2023-07-18 09:50:08 +10:00
1151f93fc8 Merge branch 'asynchronous-io-with-fs-fixes' into tun-tap 2023-07-17 09:04:42 +10:00
a98deb5a8b Finished the client side of the VPN 2023-07-06 21:35:01 +10:00
01ffc81cc1 Added the metadata and client for remote networking 2023-07-02 05:30:11 +10:00
b795893894 Added additional handling methods for the wakers to avoid race conditions 2023-07-01 23:54:47 +10:00
1becbad510 New epoll functionality is now backwards compatible with poll_oneoff 2023-06-27 16:06:07 +10:00
a7f4460573 Added fixes for the existing poll_oneoff loop 2023-06-27 14:23:09 +10:00
1884c625d6 Resolved compilation regression issues 2023-06-26 06:55:15 +10:00
59f8acf7f6 Added waker conversion helper 2023-06-26 05:28:18 +10:00
fa47c6a9b1 Now passing through the epoll interest events rather than abstracting it 2023-06-25 11:14:18 +10:00