Content-Length: 269228 | pFad | https://github.com/python/cpython/issues/123476

33 TCP_QUICKACK is available on Windows, but is only implemented by the python runtime for Linux · Issue #123476 · python/cpython · GitHub
Skip to content

TCP_QUICKACK is available on Windows, but is only implemented by the python runtime for Linux #123476

@nkinnan

Description

@nkinnan

Bug report

Bug description:

import socket
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_QUICKACK, 1)
sock.getsockopt(socket.IPPROTO_TCP, socket.TCP_QUICKACK)

On windows this throws AttributeError: module 'socket' has no attribute 'TCP_QUICKACK'

Support is for this setting is available on windows, it just isn't implemented in the python runtime. It's implemented for Linux and I believe for Mac as well, though I didn't check the latter.

I'm opening this mostly to track my PR as I already have the fix implemented.

CPython versions tested on:

3.12, CPython main branch

Operating systems tested on:

Linux, Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/123476

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy