• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

getlantern / flashlight / 12240454439

09 Dec 2024 04:57PM UTC coverage: 37.521% (-0.3%) from 37.809%
12240454439

push

github

web-flow
adding IsReady to dialer interface (#1436)

* feat: adding IsReady to BanditDialer and isReady to proxy implementations

* feat: only select dialer when ready to dial

* fix: adding IsReady to test dialer

* fix: loading b64 wasm in background so channel doesn't lock and only wait for download when ready is isn't ready

* fix: removing err declaration

* fix: renaming channel and waiting dialer to be available before checking at test

* feat: if dialer is not ready, try to add to bypass again in 60s

* feat: adding log debug and continue when loading dialer in background

* fix: adopt suggestions and make IsReady return an error

* feat: verifying IsReady error at bandit before checking if it's ready or not

* fix: updating bypass function for using and checking context timeout, if it happens it should stop retrying to load the proxy async

* feat: adding locker at package lever for avoiding downloading WASM file with data race

* feat: add support for water multiplex

* fix: typo

* fix: checking error at bypass before using ready

* fix: canceling context if dialer IsReady returns an error

* fix: start proxy if dialer is ready

* fix: removing retry atomic bool and replace by select statement

* fix: removing if statement for checking if thereadyChain is closed and removing close

* fix: removing close calls for finishedToLoad; updated dialer closed message and isReady now returns true based on flag and dialer different than nil

* fix: using a sync.Map for handling lockers per WATER transport

* fix: making Ready returns a <- chan error

* fix: checking if ready chan is nil

* fix: adding on success to dialer

* fix: deleting bandit package

* fix: removing errLoadingWASM var and send it directly to the channel

* feat: go mod tidy

* fix: replace log by logger

* fix: add comment for making explicit IsReady can return a nil value if initialization is not required and verifying at bypass even when loading async

* fix: replace sync.Map usage by cr... (continued)

74 of 251 new or added lines in 19 files covered. (29.48%)

15 existing lines in 6 files now uncovered.

4453 of 11868 relevant lines covered (37.52%)

46.07 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/chained/https_impl.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc