Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Memory Mapped Files, Tests and much more #58

Merged
merged 54 commits into from
Nov 2, 2023

Conversation

FlorianReimold
Copy link
Member

@FlorianReimold FlorianReimold commented Nov 2, 2023

  • Performance improvements for FTP Downloads through memory-mapped file (Thanks to @bjuulp)
  • Added googletest as submodule
  • Added unit tests for fineftp-server. The tests require C++17 to compile and curl to be present in the PATH when executing them
  • New CMake Options for Enabling / Disabling different components (See Readme.md)
  • Binary downloads for Windows are now built with VS 2017 / v140 toolset
  • Fixed a race condition on Windows that caused files not being fully flushed after fineftp-server reported the finished data upload (Thanks to @bjuulp)
  • Reordered internal asio::strand implementation in order to prevent race conditions that haven't been detected, yet. (Thanks to @bjuulp)
  • Fixed a vulnerability that enabled an attacker to access files above the root directory (reported by [Vulnerability] Path traversal results in an arbitrary file read/write #52)
  • Fixed many clang-tidy warnings
  • The APPE (= append-to-file) command now creates a new file if it didn't exist already (this is the correct behavior according to RFC 959
  • Updated the asio submodule to 1.28.2

bjuulp and others added 30 commits April 14, 2023 18:33
- Added Test for LIST command and standalone RENAME command
- The data socket is now properly closed before sending 226 Done. This fixes an issue with curl, which complained about connections resets.
@FlorianReimold FlorianReimold marked this pull request as ready for review November 2, 2023 15:06
@FlorianReimold FlorianReimold merged commit 4e8ae35 into master Nov 2, 2023
18 of 19 checks passed
@FlorianReimold FlorianReimold deleted the feature/memory_mapped_files branch March 1, 2024 09:50
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.

2 participants