apache / apache/pekko-http

Feature request: Provide an API to get file descriptor of the Socket connection

Open
#481 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
196
Forks
55
Avg merge
4d 52m
Merged PRs (30d)
74

Description

I have a specific use case. I’m using pekko server to handle REST APIs calls. I need to get the file descriptor associated with socket connection then pass it to some legacy C program.

I'd like to request an API to get the file descriptor associated with socket connection for GET/POST REST APIs calls.

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by locating the Pekko server request and socket-connection APIs, then determine how a file descriptor could be exposed for REST calls; done means a defined API and coverage for the requested GET/POST use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend-api-design, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.