10000 gh-123557: Limit the reading size from Unix sockets to same limit pipes use by aplaikner · Pull Request #123558 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-123557: Limit the reading size from Unix sockets to same limit pipes use #123558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
108e65b
Add clean code
aplaikner Jul 3, 2024
37ca606
Fix linting error & sysconf unsupported error
aplaikner Jul 3, 2024
df4f307
Merge branch 'main' into feature-smaller-pipe-buffer-pull-request
aplaikner Jul 3, 2024
89936c2
📜🤖 Added by blurb_it.
blurb-it[bot] Jul 3, 2024
31c65b4
Fix news
aplaikner Jul 3, 2024
0a4e4a3
Make page size non static
aplaikner Jul 3, 2024
7afde51
Merge branch 'main' into feature-smaller-pipe-buffer-pull-request
aplaikner Jul 3, 2024
8d9b16e
Merge branch 'main' into feature-smaller-pipe-buffer-pull-request
aplaikner Jul 3, 2024
e6c64fe
Remove redundant call to pymin
aplaikner Jul 4, 2024
936b601
Shift pipe check to connection.py _recv
aplaikner Jul 5, 2024
49d8adb
Make pipe size dependant on systems page size
aplaikner Jul 5, 2024
43e19dd
Only execute fstat in case reading size is bigger than default pipe size
aplaikner Jul 5, 2024
b0b86e5
Update news message
aplaikner Jul 7, 2024
2b6ff24
Make imports order alphabetical
aplaikner Jul 7, 2024
e726f51
Shift calculation for pipe size to existing if _winapi check
aplaikner Jul 7, 2024
59cff4d
Fix linting error
aplaikner Jul 7, 2024
da10f8e
Merge branch 'main' into feature-smaller-pipe-buffer-pull-request
aplaikner Jul 7, 2024
94d4c4a
Create constant for default number of pages per pipe
aplaikner Jul 7, 2024
ed7fdac
Extend pipes fix to Unix sockets
aplaikner Jul 13, 2024
54f3d5a 8000
Merge branch 'feature-smaller-socket-buffer-pull-request' into featur…
aplaikner Sep 1, 2024
481d6ee
Merge pull request #1 from aplaikner/feature-smaller-socket-buffer
aplaikner Sep 1, 2024
d130d8f
📜🤖 Added by blurb_it.
blurb-it[bot] Sep 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make imports order alphabetical
  • Loading branch information
aplaikner committed Jul 7, 2024
commit 2b6ff241c00a30bab30d005917b68bc5bb8f521c
6 changes: 3 additions & 3 deletions Lib/multiprocessing/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@

import errno
import io
import itertools
import os
import stat
import sys
import socket
import struct
import time
import tempfile
import itertools
import stat
import time


from . import util
Expand Down
0