Search found 4 matches

by myang
Thu Jun 06, 2024 7:59 pm
Forum: YAJL-ILE
Topic: Is yajl_addNumF working correctly?
Replies: 1
Views: 26247

Is yajl_addNumF working correctly?

Dow SqlCod = 0; yajl_addNumF(*omit: CcdPct); Exec SQL Fetch from C1 into :CcdPct; Enddo; I was expecting to get an array [1,2,3,4,5,6] instead I got [" ", 1, " ", 2, " ", 3, " ", 4, " ", 5, " ", 6] Is what I received the intended result?
by myang
Thu May 30, 2024 2:33 pm
Forum: HTTPAPI
Topic: http_string is timing out
Replies: 3
Views: 13522

Re: http_string is timing out

You are right. There was a mistake in the additional header callback. I didn't put a CRLF in between each header, which was the cause of the problem. Thanks!
by myang
Tue May 28, 2024 3:37 pm
Forum: HTTPAPI
Topic: http_string is timing out
Replies: 3
Views: 13522

Re: http_string is timing out

I mistakenly thought that the httpapi_debug.txt file was displaying the response, but it was actually just displaying the request body. We've updated the library to version 1.49 and we still get the same timeout error. The error happens on this line of code in COMMSSLR4: 0006.23 c eval rc = poll( pf...
by myang
Fri May 24, 2024 7:20 pm
Forum: HTTPAPI
Topic: http_string is timing out
Replies: 3
Views: 13522

http_string is timing out

The following code returns a timeout message even though we receive a valid response from the API sandbox. Any idea why we would get a timeout when the httpapi_debug.txt file shows we received a valid response? Our RtnValue contains blanks after the timeout. Marvin ----------------------------------...