Skip to content

Commit 27016b5

Browse files
quinnj2quinnj
andauthored
Update aws_c_http_jq_jll to version 0.10.2 (#10)
Co-authored-by: quinnj <2896623+quinnj@users.noreply.github.com>
1 parent e23762a commit 27016b5

14 files changed

Lines changed: 210 additions & 119 deletions

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "LibAwsHTTPFork"
22
uuid = "d3f1d20b-921e-4930-8491-471e0be3121a"
3-
version = "1.0.4"
3+
version = "1.0.5"
44

55
[deps]
66
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
@@ -17,7 +17,7 @@ LibAwsCal = "1.1"
1717
LibAwsCommon = "1.2"
1818
LibAwsCompression = "1.1"
1919
LibAwsIO = "1.2"
20-
aws_c_http_jq_jll = "=0.9.8"
20+
aws_c_http_jq_jll = "=0.10.2"
2121
julia = "1.6"
2222

2323
[extras]

lib/aarch64-apple-darwin20.jl

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ struct aws_http2_connection_options
117117
on_goaway_received::Ptr{aws_http2_on_goaway_received_fn}
118118
on_remote_settings_change::Ptr{aws_http2_on_remote_settings_change_fn}
119119
conn_manual_window_management::Bool
120+
conn_window_size_threshold_to_send_update::UInt32
121+
stream_window_size_threshold_to_send_update::UInt32
120122
end
121123

122124
"""
@@ -584,7 +586,9 @@ If `conn_manual_window_management` is false, this call will have no effect. The
584586
585587
If you are not connected, this call will have no effect.
586588
587-
Crashes when the connection is not http2 connection. The limit of the Maximum Size is 2**31 - 1. If the increment size cause the connection flow window exceeds the Maximum size, this call will result in the connection lost.
589+
Crashes when the connection is not http2 connection. The limit of the Maximum Size is 2**31 - 1. And client will make sure the WINDOW\\_UPDATE frame to be valid.
590+
591+
The client control exactly when the WINDOW\\_UPDATE frame sent. Check `conn_window_size_threshold_to_send_update` for details.
588592
589593
# Arguments
590594
* `http2_connection`: HTTP/2 connection.
@@ -918,6 +922,7 @@ struct aws_http2_stream_manager_options
918922
max_closed_streams::Csize_t
919923
conn_manual_window_management::Bool
920924
enable_read_back_pressure::Bool
925+
initial_window_size::Csize_t
921926
monitoring_options::Ptr{aws_http_connection_monitoring_options}
922927
proxy_options::Ptr{aws_http_proxy_options}
923928
proxy_ev_settings::Ptr{proxy_env_var_settings}
@@ -1198,28 +1203,28 @@ struct aws_http_proxy_negotiator_tunnelling_vtable
11981203
end
11991204

12001205
"""
1201-
union (unnamed at /home/runner/.julia/artifacts/0dcbf6df3f3caedaddc5b6babfde533b9631ca87/include/aws/http/proxy.h:302:5)
1206+
union (unnamed at /home/runner/.julia/artifacts/0a9f325bb7385a853365ca0bbfb154614c702981/include/aws/http/proxy.h:302:5)
12021207
12031208
Documentation not found.
12041209
"""
1205-
struct var"union (unnamed at /home/runner/.julia/artifacts/0dcbf6df3f3caedaddc5b6babfde533b9631ca87/include/aws/http/proxy.h:302:5)"
1210+
struct var"union (unnamed at /home/runner/.julia/artifacts/0a9f325bb7385a853365ca0bbfb154614c702981/include/aws/http/proxy.h:302:5)"
12061211
data::NTuple{8, UInt8}
12071212
end
12081213

1209-
function Base.getproperty(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/0dcbf6df3f3caedaddc5b6babfde533b9631ca87/include/aws/http/proxy.h:302:5)"}, f::Symbol)
1214+
function Base.getproperty(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/0a9f325bb7385a853365ca0bbfb154614c702981/include/aws/http/proxy.h:302:5)"}, f::Symbol)
12101215
f === :forwarding_vtable && return Ptr{Ptr{aws_http_proxy_negotiator_forwarding_vtable}}(x + 0)
12111216
f === :tunnelling_vtable && return Ptr{Ptr{aws_http_proxy_negotiator_tunnelling_vtable}}(x + 0)
12121217
return getfield(x, f)
12131218
end
12141219

1215-
function Base.getproperty(x::var"union (unnamed at /home/runner/.julia/artifacts/0dcbf6df3f3caedaddc5b6babfde533b9631ca87/include/aws/http/proxy.h:302:5)", f::Symbol)
1216-
r = Ref{var"union (unnamed at /home/runner/.julia/artifacts/0dcbf6df3f3caedaddc5b6babfde533b9631ca87/include/aws/http/proxy.h:302:5)"}(x)
1217-
ptr = Base.unsafe_convert(Ptr{var"union (unnamed at /home/runner/.julia/artifacts/0dcbf6df3f3caedaddc5b6babfde533b9631ca87/include/aws/http/proxy.h:302:5)"}, r)
1220+
function Base.getproperty(x::var"union (unnamed at /home/runner/.julia/artifacts/0a9f325bb7385a853365ca0bbfb154614c702981/include/aws/http/proxy.h:302:5)", f::Symbol)
1221+
r = Ref{var"union (unnamed at /home/runner/.julia/artifacts/0a9f325bb7385a853365ca0bbfb154614c702981/include/aws/http/proxy.h:302:5)"}(x)
1222+
ptr = Base.unsafe_convert(Ptr{var"union (unnamed at /home/runner/.julia/artifacts/0a9f325bb7385a853365ca0bbfb154614c702981/include/aws/http/proxy.h:302:5)"}, r)
12181223
fptr = getproperty(ptr, f)
12191224
GC.@preserve r unsafe_load(fptr)
12201225
end
12211226

1222-
function Base.setproperty!(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/0dcbf6df3f3caedaddc5b6babfde533b9631ca87/include/aws/http/proxy.h:302:5)"}, f::Symbol, v)
1227+
function Base.setproperty!(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/0a9f325bb7385a853365ca0bbfb154614c702981/include/aws/http/proxy.h:302:5)"}, f::Symbol, v)
12231228
unsafe_store!(getproperty(x, f), v)
12241229
end
12251230

@@ -1235,7 +1240,7 @@ end
12351240
function Base.getproperty(x::Ptr{aws_http_proxy_negotiator}, f::Symbol)
12361241
f === :ref_count && return Ptr{aws_ref_count}(x + 0)
12371242
f === :impl && return Ptr{Ptr{Cvoid}}(x + 24)
1238-
f === :strategy_vtable && return Ptr{var"union (unnamed at /home/runner/.julia/artifacts/0dcbf6df3f3caedaddc5b6babfde533b9631ca87/include/aws/http/proxy.h:302:5)"}(x + 32)
1243+
f === :strategy_vtable && return Ptr{var"union (unnamed at /home/runner/.julia/artifacts/0a9f325bb7385a853365ca0bbfb154614c702981/include/aws/http/proxy.h:302:5)"}(x + 32)
12391244
return getfield(x, f)
12401245
end
12411246

@@ -2941,6 +2946,8 @@ If the connection was created with `manual_window_management` set true, the flow
29412946
29422947
If `manual_window_management` is false, this call will have no effect. The connection maintains its flow-control windows such that no back-pressure is applied and data arrives as fast as possible.
29432948
2949+
For HTTP/2, the client control exactly when the WINDOW\\_UPDATE frame sent. And client will make sure the WINDOW\\_UPDATE frame to be valid. Check `stream_window_size_threshold_to_send_update` for details.
2950+
29442951
### Prototype
29452952
```c
29462953
void aws_http_stream_update_window(struct aws_http_stream *stream, size_t increment_size);

lib/aarch64-linux-gnu.jl

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ struct aws_http2_connection_options
117117
on_goaway_received::Ptr{aws_http2_on_goaway_received_fn}
118118
on_remote_settings_change::Ptr{aws_http2_on_remote_settings_change_fn}
119119
conn_manual_window_management::Bool
120+
conn_window_size_threshold_to_send_update::UInt32
121+
stream_window_size_threshold_to_send_update::UInt32
120122
end
121123

122124
"""
@@ -584,7 +586,9 @@ If `conn_manual_window_management` is false, this call will have no effect. The
584586
585587
If you are not connected, this call will have no effect.
586588
587-
Crashes when the connection is not http2 connection. The limit of the Maximum Size is 2**31 - 1. If the increment size cause the connection flow window exceeds the Maximum size, this call will result in the connection lost.
589+
Crashes when the connection is not http2 connection. The limit of the Maximum Size is 2**31 - 1. And client will make sure the WINDOW\\_UPDATE frame to be valid.
590+
591+
The client control exactly when the WINDOW\\_UPDATE frame sent. Check `conn_window_size_threshold_to_send_update` for details.
588592
589593
# Arguments
590594
* `http2_connection`: HTTP/2 connection.
@@ -918,6 +922,7 @@ struct aws_http2_stream_manager_options
918922
max_closed_streams::Csize_t
919923
conn_manual_window_management::Bool
920924
enable_read_back_pressure::Bool
925+
initial_window_size::Csize_t
921926
monitoring_options::Ptr{aws_http_connection_monitoring_options}
922927
proxy_options::Ptr{aws_http_proxy_options}
923928
proxy_ev_settings::Ptr{proxy_env_var_settings}
@@ -1198,28 +1203,28 @@ struct aws_http_proxy_negotiator_tunnelling_vtable
11981203
end
11991204

12001205
"""
1201-
union (unnamed at /home/runner/.julia/artifacts/8cb5b99a1d1e52a9a0e431915199b52f680336d0/include/aws/http/proxy.h:302:5)
1206+
union (unnamed at /home/runner/.julia/artifacts/7fb02f8455840f59ecec47ebdfbbdb29308f4801/include/aws/http/proxy.h:302:5)
12021207
12031208
Documentation not found.
12041209
"""
1205-
struct var"union (unnamed at /home/runner/.julia/artifacts/8cb5b99a1d1e52a9a0e431915199b52f680336d0/include/aws/http/proxy.h:302:5)"
1210+
struct var"union (unnamed at /home/runner/.julia/artifacts/7fb02f8455840f59ecec47ebdfbbdb29308f4801/include/aws/http/proxy.h:302:5)"
12061211
data::NTuple{8, UInt8}
12071212
end
12081213

1209-
function Base.getproperty(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/8cb5b99a1d1e52a9a0e431915199b52f680336d0/include/aws/http/proxy.h:302:5)"}, f::Symbol)
1214+
function Base.getproperty(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/7fb02f8455840f59ecec47ebdfbbdb29308f4801/include/aws/http/proxy.h:302:5)"}, f::Symbol)
12101215
f === :forwarding_vtable && return Ptr{Ptr{aws_http_proxy_negotiator_forwarding_vtable}}(x + 0)
12111216
f === :tunnelling_vtable && return Ptr{Ptr{aws_http_proxy_negotiator_tunnelling_vtable}}(x + 0)
12121217
return getfield(x, f)
12131218
end
12141219

1215-
function Base.getproperty(x::var"union (unnamed at /home/runner/.julia/artifacts/8cb5b99a1d1e52a9a0e431915199b52f680336d0/include/aws/http/proxy.h:302:5)", f::Symbol)
1216-
r = Ref{var"union (unnamed at /home/runner/.julia/artifacts/8cb5b99a1d1e52a9a0e431915199b52f680336d0/include/aws/http/proxy.h:302:5)"}(x)
1217-
ptr = Base.unsafe_convert(Ptr{var"union (unnamed at /home/runner/.julia/artifacts/8cb5b99a1d1e52a9a0e431915199b52f680336d0/include/aws/http/proxy.h:302:5)"}, r)
1220+
function Base.getproperty(x::var"union (unnamed at /home/runner/.julia/artifacts/7fb02f8455840f59ecec47ebdfbbdb29308f4801/include/aws/http/proxy.h:302:5)", f::Symbol)
1221+
r = Ref{var"union (unnamed at /home/runner/.julia/artifacts/7fb02f8455840f59ecec47ebdfbbdb29308f4801/include/aws/http/proxy.h:302:5)"}(x)
1222+
ptr = Base.unsafe_convert(Ptr{var"union (unnamed at /home/runner/.julia/artifacts/7fb02f8455840f59ecec47ebdfbbdb29308f4801/include/aws/http/proxy.h:302:5)"}, r)
12181223
fptr = getproperty(ptr, f)
12191224
GC.@preserve r unsafe_load(fptr)
12201225
end
12211226

1222-
function Base.setproperty!(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/8cb5b99a1d1e52a9a0e431915199b52f680336d0/include/aws/http/proxy.h:302:5)"}, f::Symbol, v)
1227+
function Base.setproperty!(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/7fb02f8455840f59ecec47ebdfbbdb29308f4801/include/aws/http/proxy.h:302:5)"}, f::Symbol, v)
12231228
unsafe_store!(getproperty(x, f), v)
12241229
end
12251230

@@ -1235,7 +1240,7 @@ end
12351240
function Base.getproperty(x::Ptr{aws_http_proxy_negotiator}, f::Symbol)
12361241
f === :ref_count && return Ptr{aws_ref_count}(x + 0)
12371242
f === :impl && return Ptr{Ptr{Cvoid}}(x + 24)
1238-
f === :strategy_vtable && return Ptr{var"union (unnamed at /home/runner/.julia/artifacts/8cb5b99a1d1e52a9a0e431915199b52f680336d0/include/aws/http/proxy.h:302:5)"}(x + 32)
1243+
f === :strategy_vtable && return Ptr{var"union (unnamed at /home/runner/.julia/artifacts/7fb02f8455840f59ecec47ebdfbbdb29308f4801/include/aws/http/proxy.h:302:5)"}(x + 32)
12391244
return getfield(x, f)
12401245
end
12411246

@@ -2941,6 +2946,8 @@ If the connection was created with `manual_window_management` set true, the flow
29412946
29422947
If `manual_window_management` is false, this call will have no effect. The connection maintains its flow-control windows such that no back-pressure is applied and data arrives as fast as possible.
29432948
2949+
For HTTP/2, the client control exactly when the WINDOW\\_UPDATE frame sent. And client will make sure the WINDOW\\_UPDATE frame to be valid. Check `stream_window_size_threshold_to_send_update` for details.
2950+
29442951
### Prototype
29452952
```c
29462953
void aws_http_stream_update_window(struct aws_http_stream *stream, size_t increment_size);

lib/aarch64-linux-musl.jl

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ struct aws_http2_connection_options
117117
on_goaway_received::Ptr{aws_http2_on_goaway_received_fn}
118118
on_remote_settings_change::Ptr{aws_http2_on_remote_settings_change_fn}
119119
conn_manual_window_management::Bool
120+
conn_window_size_threshold_to_send_update::UInt32
121+
stream_window_size_threshold_to_send_update::UInt32
120122
end
121123

122124
"""
@@ -584,7 +586,9 @@ If `conn_manual_window_management` is false, this call will have no effect. The
584586
585587
If you are not connected, this call will have no effect.
586588
587-
Crashes when the connection is not http2 connection. The limit of the Maximum Size is 2**31 - 1. If the increment size cause the connection flow window exceeds the Maximum size, this call will result in the connection lost.
589+
Crashes when the connection is not http2 connection. The limit of the Maximum Size is 2**31 - 1. And client will make sure the WINDOW\\_UPDATE frame to be valid.
590+
591+
The client control exactly when the WINDOW\\_UPDATE frame sent. Check `conn_window_size_threshold_to_send_update` for details.
588592
589593
# Arguments
590594
* `http2_connection`: HTTP/2 connection.
@@ -918,6 +922,7 @@ struct aws_http2_stream_manager_options
918922
max_closed_streams::Csize_t
919923
conn_manual_window_management::Bool
920924
enable_read_back_pressure::Bool
925+
initial_window_size::Csize_t
921926
monitoring_options::Ptr{aws_http_connection_monitoring_options}
922927
proxy_options::Ptr{aws_http_proxy_options}
923928
proxy_ev_settings::Ptr{proxy_env_var_settings}
@@ -1198,28 +1203,28 @@ struct aws_http_proxy_negotiator_tunnelling_vtable
11981203
end
11991204

12001205
"""
1201-
union (unnamed at /home/runner/.julia/artifacts/e8bfc179990302d61713ac41f40f4d3cca4f9865/include/aws/http/proxy.h:302:5)
1206+
union (unnamed at /home/runner/.julia/artifacts/13089f5158c2a073c2b7a53e2d5efc08c77137c7/include/aws/http/proxy.h:302:5)
12021207
12031208
Documentation not found.
12041209
"""
1205-
struct var"union (unnamed at /home/runner/.julia/artifacts/e8bfc179990302d61713ac41f40f4d3cca4f9865/include/aws/http/proxy.h:302:5)"
1210+
struct var"union (unnamed at /home/runner/.julia/artifacts/13089f5158c2a073c2b7a53e2d5efc08c77137c7/include/aws/http/proxy.h:302:5)"
12061211
data::NTuple{8, UInt8}
12071212
end
12081213

1209-
function Base.getproperty(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/e8bfc179990302d61713ac41f40f4d3cca4f9865/include/aws/http/proxy.h:302:5)"}, f::Symbol)
1214+
function Base.getproperty(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/13089f5158c2a073c2b7a53e2d5efc08c77137c7/include/aws/http/proxy.h:302:5)"}, f::Symbol)
12101215
f === :forwarding_vtable && return Ptr{Ptr{aws_http_proxy_negotiator_forwarding_vtable}}(x + 0)
12111216
f === :tunnelling_vtable && return Ptr{Ptr{aws_http_proxy_negotiator_tunnelling_vtable}}(x + 0)
12121217
return getfield(x, f)
12131218
end
12141219

1215-
function Base.getproperty(x::var"union (unnamed at /home/runner/.julia/artifacts/e8bfc179990302d61713ac41f40f4d3cca4f9865/include/aws/http/proxy.h:302:5)", f::Symbol)
1216-
r = Ref{var"union (unnamed at /home/runner/.julia/artifacts/e8bfc179990302d61713ac41f40f4d3cca4f9865/include/aws/http/proxy.h:302:5)"}(x)
1217-
ptr = Base.unsafe_convert(Ptr{var"union (unnamed at /home/runner/.julia/artifacts/e8bfc179990302d61713ac41f40f4d3cca4f9865/include/aws/http/proxy.h:302:5)"}, r)
1220+
function Base.getproperty(x::var"union (unnamed at /home/runner/.julia/artifacts/13089f5158c2a073c2b7a53e2d5efc08c77137c7/include/aws/http/proxy.h:302:5)", f::Symbol)
1221+
r = Ref{var"union (unnamed at /home/runner/.julia/artifacts/13089f5158c2a073c2b7a53e2d5efc08c77137c7/include/aws/http/proxy.h:302:5)"}(x)
1222+
ptr = Base.unsafe_convert(Ptr{var"union (unnamed at /home/runner/.julia/artifacts/13089f5158c2a073c2b7a53e2d5efc08c77137c7/include/aws/http/proxy.h:302:5)"}, r)
12181223
fptr = getproperty(ptr, f)
12191224
GC.@preserve r unsafe_load(fptr)
12201225
end
12211226

1222-
function Base.setproperty!(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/e8bfc179990302d61713ac41f40f4d3cca4f9865/include/aws/http/proxy.h:302:5)"}, f::Symbol, v)
1227+
function Base.setproperty!(x::Ptr{var"union (unnamed at /home/runner/.julia/artifacts/13089f5158c2a073c2b7a53e2d5efc08c77137c7/include/aws/http/proxy.h:302:5)"}, f::Symbol, v)
12231228
unsafe_store!(getproperty(x, f), v)
12241229
end
12251230

@@ -1235,7 +1240,7 @@ end
12351240
function Base.getproperty(x::Ptr{aws_http_proxy_negotiator}, f::Symbol)
12361241
f === :ref_count && return Ptr{aws_ref_count}(x + 0)
12371242
f === :impl && return Ptr{Ptr{Cvoid}}(x + 24)
1238-
f === :strategy_vtable && return Ptr{var"union (unnamed at /home/runner/.julia/artifacts/e8bfc179990302d61713ac41f40f4d3cca4f9865/include/aws/http/proxy.h:302:5)"}(x + 32)
1243+
f === :strategy_vtable && return Ptr{var"union (unnamed at /home/runner/.julia/artifacts/13089f5158c2a073c2b7a53e2d5efc08c77137c7/include/aws/http/proxy.h:302:5)"}(x + 32)
12391244
return getfield(x, f)
12401245
end
12411246

@@ -2941,6 +2946,8 @@ If the connection was created with `manual_window_management` set true, the flow
29412946
29422947
If `manual_window_management` is false, this call will have no effect. The connection maintains its flow-control windows such that no back-pressure is applied and data arrives as fast as possible.
29432948
2949+
For HTTP/2, the client control exactly when the WINDOW\\_UPDATE frame sent. And client will make sure the WINDOW\\_UPDATE frame to be valid. Check `stream_window_size_threshold_to_send_update` for details.
2950+
29442951
### Prototype
29452952
```c
29462953
void aws_http_stream_update_window(struct aws_http_stream *stream, size_t increment_size);

0 commit comments

Comments
 (0)