Commit Graph

5 Commits

Author SHA1 Message Date
Erki
45f4652a3a Implement a dll call wrapper (#8944)
Implements a wrapper to the call()() function, meant to be used for calling dylibs.

This is useful for two reasons:

    It allows us to debug the dylib calls (such as timing for the time being).
2020-07-05 18:31:43 +03:00
Erki
63bf0030f6 Fixes async HTTP for getting pins (#8073)
A few issues:

    Async response enums were bad.
    Async requests didn't handle an unforeseen error properly.
    Get pins were sending an input which would cause a crash of the DLL. (DLL is now fixed to not crash due to this.)
2020-01-23 21:19:01 +02:00
Erki
92c51c47c9 Asynchronous (& synchronous) HTTP (#7989)
Implements Rust-g based HTTP requests. Removes old curl-based C library.

Features:

    Adjustable method, body, headers.
    Support for both HTTP and HTTPS.
    Supports blocking (synchronous) operations, and non-blocking (asynchronous) operations.
2020-01-20 22:25:44 +02:00
Erki
18e03e0a02 rustg for UDP shipping (#7897)
The C++ UDP logging library has been swapped out with a rustg implementation. The rustg library uses non-blocking IO mode, and hopefully has less trouble than the C++ one. Though we'll have to see. It should error when the call is supposed to block.

The old library has been removed.
2020-01-11 21:17:41 +02:00
Mykhailo Bykhovtsev
4c213f25ef Updating rust-g (#5992) 2019-01-29 23:02:39 +01:00