diff options
author | Erlite <ys.aameziane@gmail.com> | 2022-12-13 17:51:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-13 17:51:39 +0100 |
commit | f0285618c33bd0a48b2d80b905371589ade85c79 (patch) | |
tree | 6359a75e987c3e5e1ee6311a7cd3b5e4c83fa7ca /NorthstarDLL/scripts/server | |
parent | 5fde176a9a3cc746f8aab24fb850e5b90aa51710 (diff) | |
download | NorthstarLauncher-f0285618c33bd0a48b2d80b905371589ade85c79.tar.gz NorthstarLauncher-f0285618c33bd0a48b2d80b905371589ade85c79.zip |
Implement HTTP requests for Squirrel scripts (#344)
* Native HttpRequestHandler to make HTTP requests from Squirrel
* Init handler & register SQ funcs
# Conflicts:
# NorthstarDLL/NorthstarDLL.vcxproj
# NorthstarDLL/NorthstarDLL.vcxproj.filters
* Allow redirects, fix crashing with buffer.
* Also read response header
* Remove leftover header debug stuffs
* Prevent private network requests unless -allowlocalhttp is in the command line.
* Minor tweak
* Support all HTTP methods, private network check changes.
* Add OPTIONS, timeout & user-agent overrides.
* Add -disablehttprequests, final tweaks.
* Fix one of the private ipv4 ranges
* Native HttpRequestHandler to make HTTP requests from Squirrel
* Init handler & register SQ funcs
# Conflicts:
# NorthstarDLL/NorthstarDLL.vcxproj
# NorthstarDLL/NorthstarDLL.vcxproj.filters
* Allow redirects, fix crashing with buffer.
* Also read response header
* Remove leftover header debug stuffs
* Prevent private network requests unless -allowlocalhttp is in the command line.
* Minor tweak
* Support all HTTP methods, private network check changes.
* Add OPTIONS, timeout & user-agent overrides.
* Add -disablehttprequests, final tweaks.
* Fix one of the private ipv4 ranges
* Update to latest and fix issues mentionned in previous PR
* Cleanup some return statements
* Also cache IsLocalHttpAllowed(), query param array work
* Cache command line args in ctor, more header/query array work
* Support for multiple values with same key in headers & query params
* Format check made this look disgusting, don't blame me.
* More format fixes
* Tweakerino
* Tell clang-format to segfault itself
* Add -disablehttpssl to ignore SSL verifications
* Fix headers being written to body with custom headers
* Remove useless comments
Diffstat (limited to 'NorthstarDLL/scripts/server')
0 files changed, 0 insertions, 0 deletions