websocket_client_async_ssl_system_executor sample exits before connecting
@madmongo1 ya está trabajando en esto.
Desde el 9/9/2020.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Boost 1.73 BOOST_BEAST_VERSION 290
Steps necessary to reproduce the problem
Compile and run the Debug x86 configuration in the attached sample with visual studio 2019. This is the same sample as in the boost/beast deployment. Debug x86 has the command line arguments inserted.
websocket_client_async_ssl_system_executor.zip
The issue with the sample is the code line 258:
net::system_executor().context().join();
Contrary to the comment in the code this does not wait until the system_executor runs out of work but actively invokes scheduler_.work_finished(); which decrements the outstanding_work_ count and stops the scheduler_, resulting in the websocket session ending prematurely.
As I am using the websocket_client_async_ssl_system_executor sample as the basis of my own work how one can wait on the system_executor?
Thanks
Markus
- Lenguaje dominante
- C++
- Estrellas
- 4.8k
- Forks
- 696
- Merge medio
- 7 d 1 h
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de boostorg/beast
-
Missing pending-buffer size cap in Strategy::rle triggers out-of-bounds write in copy_blockQuizá libre de nuevo @ashtum la tomó hace 48 días y no hay ningún pull request abierto. Abierto
boostorg/beast#3109 · 1 comentario · 1 reacción · 1 asignado ·
-
Need help/guidance on optimizing an embedded async http client inside an async https server.Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Todos los issues de boostorg/beast
Issues similares
-
`enzymexla.linalg.lu` lowering fails for a tall matrix: the permutation is built with the pivot typeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
EnzymeAD/Enzyme-JAX#3286 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
apache/iceberg-cpp#973 ·
Los mantenedores suelen responder en 1 día
-
Add c++23 mapping to nvccAbiertofeature request
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día