Skip to content

Commit f626cd8

Browse files
committed
Remove response size limits; add x64 build CI
1 parent 48ae9d5 commit f626cd8

2 files changed

Lines changed: 34 additions & 6 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build library_x64.lib
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build-lib-x64:
12+
runs-on: windows-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Setup MSBuild
18+
uses: microsoft/setup-msbuild@v2
19+
20+
- name: Build library_x64.lib (Release|x64)
21+
run: >
22+
msbuild .\library.vcxproj
23+
/t:Build
24+
/p:Configuration=Release
25+
/p:Platform=x64
26+
/m
27+
28+
- name: Upload library_x64.lib
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: library_x64.lib
32+
path: |
33+
**/library_x64.lib

auth.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3922,12 +3922,7 @@ std::string KeyAuth::api::req(std::string data, const std::string& url) {
39223922
if (KeyAuth::api::debug) {
39233923
debugInfo("n/a", "n/a", to_return, "n/a");
39243924
}
3925-
if (to_return.size() > (1024ULL * 1024ULL * 1024ULL)) {
3926-
if (req_headers) curl_slist_free_all(req_headers);
3927-
curl_easy_cleanup(curl);
3928-
error(XorStr("response too large."));
3929-
}
3930-
// disabled: minimum response size check. -nigel
3925+
// no maximum or minimum response size check. -nigel
39313926
if (req_headers) curl_slist_free_all(req_headers);
39323927
curl_easy_cleanup(curl);
39333928
secure_zero(data);

0 commit comments

Comments
 (0)