Skip to content

Commit

Permalink
Merge pull request #41 from jawah/bugfix-large-header
Browse files Browse the repository at this point in the history
🔖 release 1.2.1
  • Loading branch information
Ousret authored Oct 15, 2024
2 parents fb00a76 + cb08404 commit ed2f874
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 48 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
os: [ubuntu-22.04, macos-13, windows-latest]
python_version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.9', 'pypy-3.10']
exclude:
# circumvent wierd issue with qh3.asyncio+windows+proactor loop...
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
name: Run tests

linux:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs:
- test
- lint
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
1.2.1 (2024-10-15)
====================

**Fixed**
- Large HTTP headers cannot be encoded to be sent.

**Changed**
- Upgrade aws-lc-rs to v1.10.0
- Update rustls to v0.23.14

1.2.0 (2024-09-28)
====================

Expand Down
74 changes: 34 additions & 40 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "qh3"
version = "1.2.0"
version = "1.2.1"
edition = "2021"
rust-version = "1.75"
license = "BSD-3"
Expand Down
2 changes: 1 addition & 1 deletion qh3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from .quic.packet import QuicProtocolVersion
from .tls import CipherSuite, SessionTicket

__version__ = "1.2.0"
__version__ = "1.2.1"

__all__ = (
"connect",
Expand Down
6 changes: 2 additions & 4 deletions src/headers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ unsafe impl Send for QpackEncoder {}

#[pymethods]
impl QpackEncoder {
// feed_decoder(self, data: bytes) -> None

#[new]
pub fn py_new() -> Self {
Expand Down Expand Up @@ -93,11 +92,10 @@ impl QpackEncoder {
)
);
},
Err(_) => {
return Err(EncoderStreamError::new_err("unable to encode headers"));
Err(abc) => {
return Err(EncoderStreamError::new_err(format!("unable to encode headers {:?}", abc)));
}
}

}
}

Expand Down

0 comments on commit ed2f874

Please sign in to comment.