Alexey Shcherbakov

Results 10 comments of Alexey Shcherbakov
trafficstars

Hi, When I was writing this code, I looked at the source of the rails helpers and copy the necessary parts. You can check how it works now and rewrite...

May be this https://github.com/doorkeeper-gem/doorkeeper/wiki/ActionController::Metal-with-doorkeeper wil be usefull.

Yes, I can do it. I see changes. I think it's good idea raise exception instead of response sending. I'm waiting pull request from @nielsgl.

Ready: https://rubygems.org/gems/grape-doorkeeper

Can you show sample of your code? Or full trace?

As example you can try make tcpdump by Wireshark for this case. Compare received packet with processed by QAMQP, and log leftSize for current message.

Thanks, I will fix it. But you can send patch or make pull request and don't wait next commit. =)

Because OutThread is in main thread but Test is in OutThread. May be this link will be usefull: http://codethis.wordpress.com/2011/04/04/using-qthread-without-subclassing/ http://mayaposch.wordpress.com/2011/11/01/how-to-really-truly-use-qthreads-the-full-explanation/ http://habrahabr.ru/post/150274/

Hi, it will be great. When I started working on this solution it was a proof of concept for our internal project. At primary it was port of C version...

Emit does't call directly. Emit is called in file amqp_queue.cpp, line 275. You can try old example: https://github.com/fuCtor/QAMQP/blob/e56a6afa9d0f39f5c4af45500c07c9f7980cf2ec/src/test.cpp