Block a user
bug: delete_extras_walk unconditionally calls rmdir on directories
quality: server_host and server_port are mutable global variables (not thread-safe)
security: SSH transport uses fixed-size buffers in parse_remote_dest
quality: send_chunk has deeply nested if-else with duplicated file-sending loops
bug: compression_level parameter silently ignored in data_compress()
bug: chunk_size truncated from 64-bit to 32-bit on send and receive
bug: chmod() and chown() return values silently ignored in metadata restore
bug: mkdir_r uses strtok() which is not thread-safe
bug: open_next_directory returns 0 for both empty queue and opendir failure
bug: file_send_sendfile accepts compression_level parameter but ignores it
bug: to_disk uses dirname() which may modify its argument (POSIX undefined)
Fix 11 Gitea issues — bugs, quality, security, and refactoring