Skip to content
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

Support FreeBSD's SO_SETFIB in socketmodule.c #52482

Closed
kylev mannequin opened this issue Mar 25, 2010 · 3 comments
Closed

Support FreeBSD's SO_SETFIB in socketmodule.c #52482

kylev mannequin opened this issue Mar 25, 2010 · 3 comments
Assignees
Labels
extension-modules C modules in the Modules dir type-feature A feature request or enhancement

Comments

@kylev
Copy link
Mannequin

kylev mannequin commented Mar 25, 2010

BPO 8235
Nosy @larryhastings
Files
  • python-SO_SETFIB.patch: Patch to add SO_SETFIB to socket module
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/larryhastings'
    closed_at = <Date 2010-04-02.11:48:33.422>
    created_at = <Date 2010-03-25.23:39:59.588>
    labels = ['extension-modules', 'type-feature']
    title = "Support FreeBSD's SO_SETFIB in socketmodule.c"
    updated_at = <Date 2010-04-02.11:48:33.420>
    user = 'https://bugs.python.org/kylev'

    bugs.python.org fields:

    activity = <Date 2010-04-02.11:48:33.420>
    actor = 'larry'
    assignee = 'larry'
    closed = True
    closed_date = <Date 2010-04-02.11:48:33.422>
    closer = 'larry'
    components = ['Extension Modules']
    creation = <Date 2010-03-25.23:39:59.588>
    creator = 'kylev'
    dependencies = []
    files = ['16662']
    hgrepos = []
    issue_num = 8235
    keywords = ['patch']
    message_count = 3.0
    messages = ['101736', '101845', '102161']
    nosy_count = 2.0
    nosy_names = ['larry', 'kylev']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue8235'
    versions = ['Python 2.7', 'Python 3.2']

    @kylev
    Copy link
    Mannequin Author

    kylev mannequin commented Mar 25, 2010

    FreeBSD has a [gs]etsockopt() constant used to cause a given socket to use an alternate routing table (FIB); it appeared in FreeBSD 7.1. It would be useful to have this exposed as a constant in the socket module to allow special routing rules in complex environments.

    @kylev kylev mannequin added extension-modules C modules in the Modules dir type-feature A feature request or enhancement labels Mar 25, 2010
    @larryhastings
    Copy link
    Contributor

    Kyle asked me to look at this; I think it looks ready for checkin, so unless someone else jumps in with something to say I'll check it in in a day or two. It's not going in to 2.6 however, just 2.7 trunk and probably 3.2.

    @larryhastings
    Copy link
    Contributor

    Committed in Python 2.7 as revision r79592
    Committed in Python 3.2 as revision r79594

    Thanks for the patch!

    @larryhastings larryhastings self-assigned this Apr 2, 2010
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    extension-modules C modules in the Modules dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant