Move the embedded HTTP server headers out of ext/include
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- cpp
- Ambito
- build-system
Direzione di ricerca
Inizia tracciando gli include di ext/test/http/socket_tools_test.cc, dei test degli exporter elencati e di examples/http/server.h, quindi esamina i target test_common ed ext. La destinazione non è ancora stata definita: confronta test_common con un target server dedicato. Il lavoro è completato quando gli header sono stati spostati fuori da ext/include, tutti i target elencati continuano a compilare e la gestione di Winsock rimane corretta per entrambi i sistemi di build.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
ext/include/opentelemetry/ext/http/server/http_server.h and socket_tools.h are an embedded HTTP server used by tests and by the http example. They sit under ext/include beside the user facing client headers, which makes them look like part of the public surface even though nothing supported points at them.
#4327 replaced the *.h glob in the ext_common component with an explicit manifest and left both out, so the package no longer installs them. That fixes the packaging side. The files are still in a public looking location, and @dbarker asked for a follow up so the move itself does not get lost.
What uses them today
ext/test/http/socket_tools_test.ccext/test/http/curl_http_test.ccext/test/w3c_tracecontext_http_test_server/main.ccexporters/otlp/test/otlp_http_exporter_test.ccexporters/otlp/test/otlp_http_log_record_exporter_test.ccexporters/zipkin/test/zipkin_exporter_test.ccexamples/http/server.h
Everything except the example is a test. That list is the full transitive closure over the include graph on main, so nothing under functional/ is involved.
What a move would settle
Each of those targets now links ws2_32 on Windows for itself, because #4327 took that link off the opentelemetry_ext interface once the headers stopped shipping. On the Bazel side //ext:headers still globs the whole include tree, so its -DEFAULTLIB:Ws2_32.lib linkopt is still load bearing and stays. Moving the files gives both build systems the same story: a server target that owns its own Winsock dependency, and an ext target that is only the HTTP client.
test_common is one candidate, though the http example is not a test, so a small dedicated target may fit better. Happy to take this on once there is a preferred destination.
- Lingua principale
- C++
- Stelle
- 1.4k
- Fork
- 640
- Merge medio
- 1g 10h
- PR unite (30g)
- 74
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di open-telemetry/opentelemetry-cpp
-
[CI] Add Ubuntu 26.04 runners to the CI workflowForse già presa @deodattap l’ha presa 8 giorni fa. Apertatriage/accepted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
open-telemetry/opentelemetry-cpp#4596 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] Resource::Create() throws bad_variant_access if process.executable.name isn't a stringForse già presa @ryux1 l’ha presa 29 giorni fa. Apertabug help wanted triage/accepted
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
open-telemetry/opentelemetry-cpp#4535 · 1 commento · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] OnResponse() can call std::terminate() when the response body fails to parse as JSON/protobufForse già presa @YuEfSaEDU l’ha presa 20 giorni fa. Apertabug help wanted triage/accepted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
open-telemetry/opentelemetry-cpp#4534 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] ETW Properties::to_vector doubles the result and reads past a string_viewForse già presa @Tyagiquamar l’ha presa 6 giorni fa. Apertaneeds-triage Stale
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
open-telemetry/opentelemetry-cpp#4347 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug Stale triage/accepted
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
open-telemetry/opentelemetry-cpp#3109 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di open-telemetry/opentelemetry-cpp
Issue simili
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
flashinfer-ai/flashinfer#6212 ·
I maintainer di solito rispondono entro 1 giorno
-
bug graphics
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
FlaxEngine/FlaxEngine#4295 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Algorithmiq/monoprop#390 ·
I maintainer di solito rispondono entro 1 giorno
-
docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
8-membered-ring atrop stereo lost in 2026.09.1Forse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 2/5 Mezza giornata Idoneità per principianti 86/100
I maintainer di solito rispondono entro 2 giorni