eao197
eao197
As I said earlier: > Anyway, without an access to that platform, we can't play with compiler/linker options. So I have no idea now how this issue can be solved.
> My best idea there is to set up a mipsel instance in qemu. Is there any description of how it can be done?
Thanks. I'll try to take a look at it.
I've tried to compile an example from RESTinio in Debian 10 inside QEMU (installed as described above) and didn't get any linker errors: ``` eao197@debian:~/sandboxes/restinio/dev/cmake_build$ cmake --build . --target sample.hello_world_basic...
Hi! Looks like you get a `std::length_error` somewhere in your request-handler. That exception is caught by RESTinio and logger. It's hard to help you because I don't know anything about...
No, there is no such a macro. You can comment try/catch blocks here: https://github.com/Stiffstream/restinio/blob/0052518f5692f8f051031e06d933b726191be97e/dev/restinio/impl/connection.hpp#L741-L749
> Breakpoint at (1) won't provide the error stack. Oops. Ok. Let's try something like that: ```cpp class dummy_breakpoint { bool commited_{false}; public: dummy_breakpoint() = default; ~dummy_breakpoint() { if(!commited_) std::abort();...
RESTinio hasn't such top-level functionality yet. You have to implement it by yourself by using `sendfile` functionality: https://stiffstream.com/en/docs/restinio/0.5/sendfile.html An example: https://github.com/Stiffstream/restinio/blob/master/dev/sample/sendfiles/main.cpp
Response builders use inheritance only to avoid code duplication. Because of that `response_builder_t` is not designed to be used in class hierarchies. I think your case can be solved by...
> Is it possible to change said server's settings (Of course I assume I'd need to close the server and open it again), or is it better to just make...