Skip to content

Remove DD-based docroot, UFS-only static file serving#49

Merged
mgrossmann merged 1 commit intomainfrom
issue-48-remove-dd-docroot
Apr 8, 2026
Merged

Remove DD-based docroot, UFS-only static file serving#49
mgrossmann merged 1 commit intomainfrom
issue-48-remove-dd-docroot

Conversation

@mgrossmann
Copy link
Copy Markdown
Contributor

Summary

  • Remove ddname() functions and all /DD: path logic from httpget.c, httpopen.c, httpfile.c
  • Static files served exclusively from UFS via UFSD
  • Default document fallback simplified to /index.html and /default.html
  • SSI includes now UFS-only (no DD conversion)
  • Cross-compilation verified: 113 modules RC=0

-244 lines, +35 lines — net removal of ~210 lines of DD path handling code.

Test plan

  • Full make build link on MVS when host is available
  • Verify static file serving from UFS docroot
  • Verify 404 for non-existent files
  • Verify SSI includes work from UFS

Fixes #48

Remove ddname() functions and all /DD: path logic from httpget.c,
httpopen.c, and httpfile.c. Static files are now served exclusively
from the UFS filesystem via UFSD.

- httpget.c: remove ddname(), DD path conversion, /DD:HTML(INDEX)
  and /DD:HTML(DEFAULT) fallbacks, /DD:HTML(*) cache-control pattern
- httpopen.c: remove DD name parsing and fopen() fallback, UFS-only
- httpfile.c: remove ddname() and DD conversion from SSI include

Cross-compilation verified: 113 modules compiled without errors.

Fixes #48
@mgrossmann mgrossmann merged commit e50343a into main Apr 8, 2026
1 check failed
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.

Remove DD-based docroot, UFS-only static file serving

1 participant