-
Stefy Lanza (nextime / spora ) authored
- Extracted ~1500+ lines of duplicate code into shared libraries: * wssshlib.h/.c - Shared utilities (config, flags, ports, IDs) * websocket.h/.c - WebSocket functions (handshake, framing, messaging) * wssh_ssl.h/.c - SSL/TLS setup functions * tunnel.h/.c - Tunnel management (setup, reconnection, data handling) - Fixed critical port option behavior: * -p/-P options now correctly specify wssshd server port * Removed misleading documentation about options being passed through * Updated help text and man pages to reflect correct behavior - Cleaned up help documentation: * Removed duplicate 'Options:' sections from wsssh and wsscp * Consolidated all options into single, clean sections - Updated build system: * Modified configure.sh and Makefile for new library structure * Proper linking of wsssh and wsscp against shared libraries - Updated documentation: * CHANGELOG.md - Added version 1.4.6 with comprehensive details * README.md - Updated architecture and project structure * DOCUMENTATION.md - Reflected new library structure * Man pages - Corrected port option examples * TODO.md - Updated completion status - Maintained backward compatibility while improving maintainability
17a93753