jf99

Results 21 comments of jf99

I have created a pull request that should fix the issue: #15

This is indeed a problem if you `stop()` your server and restart it afterwards without much waiting. It will then fail to start with an exception: ``` terminate called after...

> @johannesSX Currently only limited modes/options introduced in Resize opset 11 are supported. ~~Can you say which modes/options exactly are currently supported? Maybe I can modify my ONNX file to...

I found a workaround, although I am not sure whether it reproduces the exact same results. Go to `models/half_gan_style.py` and replace ```python self.vgg = VGG() self.vgg.load_state_dict(torch.load(os.getcwd() + '/Models/' + 'vgg_conv.pth'))...

How about putting a macro around logging like this? ```c++ #if UWS_LOG_LEVEL getMethod()) + " " + std::string(httpRequest->getUrl()), 1); #endif ``` The default value of `UWS_LOG_LEVEL` would be 0. That...

I have changed the code to fulfill your requirements: - String concatenations are as efficient as possible - One pre-allocated log buffer per thread - No function call is made...

@alexhultman Could you please leave a comment on the changes that I've made? Thanks.

I added some more logging, including the case when `us_create_socket_context` fails. However, we cannot log any SSL specific stuff here, as this is handled by uSockets.

@alexhultman Do we still need logging in uSockets, now that you [added](https://github.com/uNetworking/uSockets/commit/e8990f6b0e48d14523417cfe6ca283f525343c51) an error handler for SSL? And if yes, does it have to be C? If it's not C++,...