Mahdi Bahrami

Results 97 issues of Mahdi Bahrami

Sorry for the noises, didn't know renaming a branch will close its PR. This is duplicate of https://github.com/vapor/postgres-nio/pull/301. ### The Problem Connecting through sockets has been deprecated in recent changes,...

bug

# The problem Right now PostgresNIO doesn't allow queries with bind parameters count more than Int16.max (32768). This is despite Postgres 10+ supporting up to (UInt16.max - 1) parameters (65535)....

Exposes the logging system's default factory to the public. ### Motivation: I've been using a Discord logger for my own application, and I was thinking of making it public so...

### Intro Notes * The same as the last PR, but just 1 commit instead of 31 😅. I thought this would be much cleaner to merge. * This is...

Adds snake-key decoding strategy for URLQuery. Matches Foundation's JSONDecoder implementation although i found like 3 different key-handling bugs in that implementation while writing this.

This PR adds client-decompression support for web-socket connections using Zlib. This also _partially_ resolves #55. ## Zlib The zlib stuff are copy-pasted from NIO-extras, but i've also removed some stuff...

In all apps i've used AHC in, we experience relatively-infrequent but consistent `HTTPClientError.remoteConnectionClosed`s. Frequency-wise, my non-scientific approximation would be something like 1/50_000 requests (depends on a lot of factors of...

### Describe the issue Crash after installing posix ELG as concurrency executor. [Quoting Johannes](https://github.com/apple/swift-nio/pull/2710): > Letting NIO take over the Concurrency thread pool is important for performance. We saw roughly...

bug

This enables the decompressor to decompress files that have been 96% compressed, instead of the previous 90%, when using `HTTPClient.shared`. See https://github.com/swift-server/async-http-client/issues/739. I'm also fine with decreasing the ratio to...