Deleted user

Results 136719 comments of Deleted user

* videos * successful cloudflare verification on samsung internet v 22.0.3.1 and jquarks viewer [ f-droid repo ] v 1.0-19_ https://commons.m.wikimedia.org/wiki/File:Jquarks_viewer_1019_samsung_internet_22031_okay.webm * failed cloudflare verification for gitlab.com on smartcookieweb [...

* issue is still persistent * please see screenshot for chrome version_ https://github.com/Slion/Fulguris/issues/524#issuecomment-1675047247 * screenshot of webview on smartcookie 16.3 ![smartcookieweb](https://github.com/CookieJarApps/SmartCookieWeb/assets/109575325/81519405-b571-4310-b0a4-bb0fbfd254ca)

The PR does not enable concurrent writes. This PR replaces the best-effort race detector with a mutex. The scope of the state that must be protected by a mutex is...

> the purpose was just to enable thread-safety in write functions using a mutex The concurrency issue is higher in the call stack. Any fix for the problem will not...

This test below fails when run with `go test -race`. ``` func TestConcurrentWrites(t *testing.T) { var connBuf bytes.Buffer c := newTestConn(nil, &connBuf, false) nGoroutines := 5 done := make(chan error,...

The following test fails when run with the race detector. ``` func TestConcurrencyNextWriter(t *testing.T) { loop := 10 workers := 10 for i := 0; i < loop; i++ {...

> Still, I'm wondering if making the WriteMessage and WriteJSON methods thread-safe would reduce issues related to concurrent writes. Those methods are often on the stack in issues reporting the...

> If the underlying Conn won't support concurrent writes well, is it a good idea to allow concurrency in calls to higher level methods The current code ensures that there...

@frankjkelly The examples use goroutines and channels to ensure a single concurrent writer. This approach is the simplest way to make an application robust against slow or dead peers.

Congratulations :tada:. DeepCode [analyzed](https://www.deepcode.ai/app/gh/pytroll/satpy/2ce07c0b1f477e9cd400a4e9b7504f36a08cc1cd/pytroll/satpy/68e99a4ad8ac1f97f99a0f2436294608cd528bac/_/%2F/code/?utm_source=gh_review) your code in 0.001 seconds and we found no issues. Enjoy a moment of no bugs :sunny:. ##### 👉 View analysis in [**DeepCode’s Dashboard**](https://www.deepcode.ai/app/gh/pytroll/satpy/2ce07c0b1f477e9cd400a4e9b7504f36a08cc1cd/pytroll/satpy/68e99a4ad8ac1f97f99a0f2436294608cd528bac/_/%2F/code/?utm_source=gh_review) ---