Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cf/5251~1
Choose a base ref
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5251
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on May 30, 2025

  1. libpq: Process buffered SSL read bytes to support records >8kB on asy…

    …nc API
    
    The async API of libpq doesn't support SSL record sizes >8kB so far.
    This size isn't exceeded by vanilla PostgreSQL, but by other products using
    the postgres wire protocol 3.
    PQconsumeInput() reads all data readable from the socket, so that the read
    condition is cleared.
    But it doesn't process all the data that is pending on the SSL layer.
    Also a subsequent call to PQisBusy() doesn't process it, so that the client
    is triggered to wait for more readable data on the socket.
    But this never arrives, so that the connection blocks infinitely.
    
    To fix this issue call pqReadData() repeatedly until there is no buffered
    SSL data left to be read.
    
    The synchronous libpq API isn't affected, since it supports arbitrary SSL
    record sizes already.
    larskanis authored and Commitfest Bot committed May 30, 2025
    Configuration menu
    Copy the full SHA
    2d337ad View commit details
    Browse the repository at this point in the history
  2. [CF 5251] libpq: Fix processing of SSL records >8kB on async API

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5251
    
    The branch will be overwritten each time a new patch version is posted to
    the thread, and also periodically to check for bitrot caused by changes
    on the master branch.
    
    Patch(es): https://www.postgresql.org/message-id/2039ac58-d3e0-434b-ac1a-2a987f3b4cb1@greiz-reinsdorf.de
    Author(s): Lars Kanis
    Commitfest Bot committed May 30, 2025
    Configuration menu
    Copy the full SHA
    f72137e View commit details
    Browse the repository at this point in the history
Loading