1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-06 05:50:22 +00:00
QB64-PE/tests
Matthew Kilgore 45d52271da Add libqb_http API for HTTP connections
This adds the libqb_http API, which is designed to support HTTP and
HTTPS usage from QB64-PE source.

The design consists of a single thread which services all the HTTP(s)
connections. There are then various libqb_http APIs exposed that allow
interacting with this thread to create a new connection, query
connection status, read data, or close the connection.

Internally the thread makes use of the curl_multi interface to allow a
single thread to service multiple HTTP(s) connections in parallel. This
means you can _OPENCLIENT() multiple HTTP connection in a row and all of
them will be serviced at the same time in whatever order data is
available.

HTTP is optional and selected via a Makefile setting. A stub is swapped
in if HTTP support is not used, which avoids need to add another build
flag to libqb.cpp.
2022-11-19 15:13:26 -05:00
..
c Add libqb_http API for HTTP connections 2022-11-19 15:13:26 -05:00
compile_tests Swap bmp test images for png 2022-11-09 21:56:44 -05:00
dist Add distribution tests 2022-04-28 17:21:58 -04:00
qbasic_testcases Add QBasic tests 2022-04-28 23:00:07 -04:00
.gitignore Don't archive test exes 2022-05-06 17:50:07 -04:00
assert.sh Only copy compilelog files if they exist 2022-05-12 00:21:02 -04:00
build.mk Add libqb_http API for HTTP connections 2022-11-19 15:13:26 -05:00
colors.sh Add distribution tests 2022-04-28 17:21:58 -04:00
compile_tests.sh Run tests with -O2 2022-11-19 01:55:20 -05:00
dist_tests.sh Fix setup_osx.command script when run from a different directory 2022-10-27 23:26:07 -04:00
qbasic_tests.sh Redirect stderr to compilelog rather than errorcompilelog 2022-05-18 09:20:30 -04:00
run_c_tests.sh Add libqb_http API for HTTP connections 2022-11-19 15:13:26 -05:00
run_dist_tests.sh Add distribution tests 2022-04-28 17:21:58 -04:00
run_tests.sh Step 10: Update remaining stuff 2022-08-12 02:54:12 +02:00