Skip to content

Log HTTP/2 GOAWAY in debug mode#146

Merged
kevmo314 merged 2 commits into
mainfrom
h2-goaway-debug-log
Jun 2, 2026
Merged

Log HTTP/2 GOAWAY in debug mode#146
kevmo314 merged 2 commits into
mainfrom
h2-goaway-debug-log

Conversation

@kevmo314

@kevmo314 kevmo314 commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add opt-in client-side logging for HTTP/2 GOAWAY frames when LUPINE_DEBUG or existing LUPINE_TRACE is enabled
  • include the GOAWAY error code and debug payload, so demo timeout closes can explain why the remote device disappeared
  • keep existing CUDA/NVML return behavior unchanged (CUDA_ERROR_DEVICE_UNAVAILABLE / existing fallback paths)

Verification

  • cmake -S . -B build-goaway-debug -DCMAKE_LIBRARY_PATH=/usr/local/cuda/lib64/stubs
  • cmake --build build-goaway-debug --parallel 2 --target lupine_driver lupine_nvml

Related

  • Pairs with lupinemachines/demo-server#1, which sends GOAWAY(CANCEL, "lupine:demo-timeout") before closing timed-out demo sessions.

@kevmo314 kevmo314 enabled auto-merge (squash) June 2, 2026 03:29
@kevmo314 kevmo314 merged commit ae3b876 into main Jun 2, 2026
37 of 39 checks passed
@kevmo314 kevmo314 deleted the h2-goaway-debug-log branch June 2, 2026 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant