Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Sep 24, 2024
1 parent bf515eb commit 1eccf7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sockets/client.jl
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ Base.flush(sock::Client) = flush(sock.writebuf)
function maybe_increment_read_window(sock::Client, nread)
ba = bytesavailable(sock.readbuf)
slotobj = unsafe_load(sock.slot)
available_space = sock.buffer_capacity - slobobj.window_size
available_space = sock.buffer_capacity - slotobj.window_size
if available_space >= (sock.buffer_capacity ÷ 32)
sock.debug && @info "maybe_increment_read_window: $nread bytes just read, $ba bytes available, incrementing read window by $available_space, $(slotobj.window_size) window size"
aws_channel_slot_increment_read_window(sock.slot, available_space)
Expand Down

0 comments on commit 1eccf7a

Please sign in to comment.