| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-10-09 | Improve Unix domain socket handling | Junegunn Choi | |
| - Check if the file is in use - Change the permission to 0600 | |||
| 2025-10-09 | Add Unix domain socket support for --listen | Junegunn Choi | |
| Close #4541 | |||
| 2024-06-14 | Make GET endpoint available from 'execute' and 'transform' actions | Junegunn Choi | |
| 2024-05-07 | Refactor the code so that fzf can be used as a library (#3769) | Junegunn Choi | |
| 2024-04-22 | Replace fmt.Errorf with no parameters with errors.New (#3747) | Cheng | |
| 2024-03-21 | Set a 2-second timeout for POST requests | Junegunn Choi | |
| Close #3685 | |||
| 2024-03-05 | Update parseGetParams to call strconv.Atoi when params are valid | onee-only | |
| 2024-03-05 | Update error return position according to convention | onee-only | |
| 2024-03-05 | Remove duplicate code | onee-only | |
| 2024-01-21 | Avoid deadlocks by adding a 2 second timeout to GET / endpoint | Junegunn Choi | |
| Because fzf processes HTTP GET requests in the main event loop, accessing the endpoint from within execute/transform actions would result in a deadlock and hang fzf indefinitely. This commit sets a 2 second timeout to avoid the deadlock. | |||
| 2023-12-16 | Terminate simple server success response with double CRLF (#3542) | Jan Verbeek | |
| The simple success case had only the status line plus a single CRLF, and pedantic HTTP client implementations (`hyper`) stumbled over this. A double CRLF makes it OK. Fixes #3541. | |||
| 2023-11-05 | Add --listen-unsafe=ADDR to allow remote process execution (#3498) | Junegunn Choi | |
| 2023-11-04 | Fix failing test case | Junegunn Choi | |
| 2023-11-04 | Allow accepting remote connections | Junegunn Choi | |
| Close #3498 # FZF_API_KEY is required for a non-localhost listen address FZF_API_KEY=xxx fzf --listen 0.0.0.0:6266 | |||
| 2023-09-18 | Add support for limit and offset parameters for GET / endpoint | Junegunn Choi | |
| Related #3372 | |||
| 2023-09-03 | Add 'GET /' endpoint for getting the program state (experimental) | Junegunn Choi | |
| Related #3372 | |||
| 2023-07-20 | Add API Keys for fzf --listen (#3374) | Boaz Yaniv | |
| 2023-03-19 | Omit port number in `--listen` for automatic port assignment | Junegunn Choi | |
| Close #3200 | |||
| 2022-12-31 | Only allow local requests | Junegunn Choi | |
| 2022-12-25 | Revert "Add GET endpoints for getting the state of the finder" | Junegunn Choi | |
| This reverts commit 750b2a63130fc6b67aaa64c59d42cff428c26b4a. This can cause a deadlock if the endpoints are accessed in the core event loop via execute action. fzf --listen 6266 --bind 'space:execute:curl localhost:6266' Technically, there's no reason to use the API because the information is already available via `{}` and `{q}`, but I'd like to completely remove the risk of misuse. | |||
| 2022-12-25 | Add GET endpoints for getting the state of the finder | Junegunn Choi | |
| * GET / (or GET /current) * GET /query | |||
| 2022-12-22 | Add time and size limit to remote requests | Junegunn Choi | |
| 2022-12-21 | Abort fzf if --listen port is unavailable | Junegunn Choi | |
| 2022-12-21 | Only trim CR and NF from the submitted expression | Junegunn Choi | |
| So the trailing space in the following case is respected. curl -XPOST localhost:6266 -d "change-prompt:$(date)> " | |||
| 2022-12-21 | Rewrite HTTP server without net/http | Junegunn Choi | |
| This cuts down the binary size from 5.7MB to 3.3MB. | |||
