Issue44077
➜
This issue tracker will soon become read-only and move to GitHub.
For a smoother transition, remember to
log in and link your GitHub username to your profile.
For more information,
see this post about the migration.
Created on 2021-05-08 14:57 by gms, last changed 2021-12-06 21:41 by andrei.avk. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 25992 | merged | python-dev, 2021-05-08 15:23 | |
| PR 26815 | merged | miss-islington, 2021-06-20 20:08 | |
| Messages (3) | |||
|---|---|---|---|
| msg393261 - (view) | Author: Georg Sauthoff (gms) * | Date: 2021-05-08 14:57 | |
Currently, the socket module doesn't provide the IP_RECVTOS constant. This constant is needed for receiving the TOS byte (or the DSCP bits) via ancillary data when calling recvmsg() or recvmsg_into(). That means it would be used in a setsockopt() call like this: s.setsockopt(socket.IPPROTO_IP, socket.IP_RECVTOS, 1) This socket option is available on Linux and perhaps other operating systems, as well. See also https://manpath.be/f33/7/ip#L467 |
|||
| msg396192 - (view) | Author: Pablo Galindo Salgado (pablogsal) * ![]() |
Date: 2021-06-20 20:08 | |
New changeset a317778fd58b1c6b250feffbdb4ecf15e293ef48 by Georg Sauthoff in branch 'main': bpo-44077: Expose IP_RECVTOS in the socket module (GH-25992) https://github.com/python/cpython/commit/a317778fd58b1c6b250feffbdb4ecf15e293ef48 |
|||
| msg396198 - (view) | Author: miss-islington (miss-islington) | Date: 2021-06-20 20:36 | |
New changeset 28fe0159f59a761bf52c1999c8f7cb12d0d12562 by Miss Islington (bot) in branch '3.10': bpo-44077: Expose IP_RECVTOS in the socket module (GH-25992) https://github.com/python/cpython/commit/28fe0159f59a761bf52c1999c8f7cb12d0d12562 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021-12-06 21:41:29 | andrei.avk | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2021-06-20 20:36:29 | miss-islington | set | messages: + msg396198 |
| 2021-06-20 20:08:25 | miss-islington | set | nosy:
+ miss-islington pull_requests: + pull_request25396 |
| 2021-06-20 20:08:14 | pablogsal | set | nosy:
+ pablogsal messages: + msg396192 |
| 2021-05-08 15:23:49 | python-dev | set | keywords:
+ patch nosy: + python-dev pull_requests:
+ pull_request24645 |
| 2021-05-08 14:57:49 | gms | create | |
