Mohammad Nejati

Results 84 comments of Mohammad Nejati

To check whether a file is a directory within the `open` function, an additional system call is necessary, such as `fstat` in POSIX or `GetFileAttributesA` in Win32. However, some users...

```BASH write: The I/O operation has been aborted because of either a thread exit or an application request ``` This error suggests you might have a lifetime issue in your...

> ``` > read: The network connection was aborted by the local system > ``` Your server should be prepared for this kind of error (client connections might fail for...

@vtharmalingam, is this issue still open or has the problem been resolved?

The issue is reproducible with the following too: https://godbolt.org/z/5cosahG6M ```C++ asio::io_context ioc; auto e = asio::get_associated_immediate_executor([] {}, executor{ &ioc }); ``` It seems we need to check for the existence...

This seems to be a bug in Asio. I've made a pull request for it: https://github.com/chriskohlhoff/asio/pull/1465 As a workaround you might consider commenting out the static `query(asio::execution::blocking_t)` member function: ```C++...

Addressed in https://github.com/chriskohlhoff/asio/commit/e5cbafb261d73060690c5befa4723db11716a02f,

@vtharmalingam, is this issue still open or has the problem been resolved?

`beast::websocket::stream` is not reusable; you have to construct a new one and go through the process of connection and handshake again. this is just like when you want to create...

If `read` completes with an error, it indicates there is an issue with the connection, so `async_close` would also complete with an error. Therefore, there is no need to call...