This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

REST in Pawn 1.3 - HTTP client for JSON REST APIs (Updated 2021/08/22)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BlackFart
Junior Member
Join Date: Feb 2021
Old 02-17-2021 , 16:14   Re: REST in Pawn 1.2 - HTTP client for JSON REST APIs (Updated 2021/02/07)
Reply With Quote #1

Well, let me know if I did it wrong, I'm not used to develop/debug in c++...
I recompiled your extension, and I tried to make some LogMessage for debugging (I'm really not used to debug in c++, even less as an extension for sourcemod...)

From what I've seen, it looks like "AddRequestToQueue" is called correctly, requests are pushed in the queue.
But, "AsyncPerformRequests" doesn't seems to be ever called ? (I put a log at the beginning)

The return value of "uv_async_init(g_Loop, &g_AsyncPerformRequests, &AsyncPerformRequests);" is 0, so it should be working ?

Could you tell me what should/could I do to investigate further, please ?

I'm on a VM running linux, as a windows host (I don't know if this changes something, but I saw there are 2 "uv_async_init" functions, one in libuv/srx/unix and another one in libuv/srx/win, I tried to modify the return value to be sure it calls the good one, but by doing that, my server keep crashing)

Thank you for your time and your help

Last edited by BlackFart; 02-18-2021 at 03:11.
BlackFart is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode