chore: remove /upload endpoint from rpc-server (#2550)

It's never been documented or supported and is unused by the web client.

In the unlikely case that a 3rd party app is using it, use 'torrent-add'
instead; it's documented + supported.
This commit is contained in:
Charles Kerr
2022-01-31 14:54:21 -06:00
committed by GitHub
parent 87dfabb9d2
commit 253f4fe009
6 changed files with 1 additions and 192 deletions

View File

@@ -276,9 +276,6 @@ char const* tr_strerror(int errnum);
/** @brief Returns true if the string ends with the specified case-insensitive suffix */
bool tr_str_has_suffix(char const* str, char const* suffix);
/** @brief Portability wrapper for memmem() that uses the system implementation if available */
char const* tr_memmem(char const* haystack, size_t haystack_len, char const* needle, size_t needle_len);
/** @brief Portability wrapper for strcasestr() that uses the system implementation if available */
char const* tr_strcasestr(char const* haystack, char const* needle);