Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tinystruct/tinystruct-netty-http-server
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main@{1day}
Choose a base ref
...
head repository: tinystruct/tinystruct-netty-http-server
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Dec 1, 2025

  1. Bump version to 1.0.4 and improve server lifecycle management

    Version Updates:
    - Bump module version from 1.0.3 to 1.0.4
    - Upgrade tinystruct dependency from 1.7.10 to 1.7.12
    - Upgrade central-publishing-maven-plugin from 0.7.0 to 0.8.0
    
    Server Lifecycle Improvements:
    - Add proper shutdown hook registration before server start
    - Store ChannelFuture as instance variable for proper cleanup
    - Improve stop() method with channel close synchronization
    - Remove redundant shutdown hook and finally block
    - Disable template requirement in init()
    
    SSL Configuration Enhancement:
    - Extract SSL configuration to dedicated configureSsl() method
    - Add support for custom SSL certificates via configuration
    - Read certificate/key paths from settings (ssl.certificate.path, ssl.key.path)
    - Fall back to self-signed certificate with warning if paths not provided
    - Add logging for production SSL configuration recommendations
    
    Bug Fixes:
    - Fix SSE Content-Type header from invalid "text/event-stream, application/json"
      to proper "text/event-stream; charset=utf-8"
    - Simplify exceptionCaught() method signature by removing Context parameter
    
    Code Quality:
    - Add missing File import
    - Improve error handling in channel close with InterruptedException handling
    - Better separation of concerns with SSL configuration extraction
    m0ver committed Dec 1, 2025
    Configuration menu
    Copy the full SHA
    1b37e5f View commit details
    Browse the repository at this point in the history
Loading