[MDEV-9158] file_key_management should support reading from a named pipe Created: 2015-11-20 Updated: 2023-05-21 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Kolbe Kegel (Inactive) | Assignee: | Andrew Hutchings |
| Resolution: | Unresolved | Votes: | 2 |
| Labels: | beginner-friendly, contribution, foundation, patch | ||
| Attachments: |
|
| Description |
|
It would be nice if file_key_management supported reading from a named pipe. Currently, it seeks through the file to determine its size before reading it; that's impossible with a named pipe. Perhaps the plugin could instead read the file in chunks and exit if it has read more than MAX_KEY_FILE_SIZE? |
| Comments |
| Comment by Daniel Black [ 2018-02-11 ] |
|
Patch looks good. Needs a file_size < 0 test for read errors which means file_size should be ssize_t. Unrelated note: Apologises for quoting the wrong this MDEV for travis IPv6 things which are obviously unrelated. |
| Comment by Andrew Hutchings [ 2022-09-07 ] |
|
Unassigned this one for now. The patch will need updating against the latest version and test cases added. Marked as "beginner-friendly". |
| Comment by kurt.ding [ 2022-09-08 ] |
|
Let me try to fix it |
| Comment by kurt.ding [ 2022-09-15 ] |
|
Haha , PR is avalilable https://github.com/MariaDB/server/pull/2267 . |
| Comment by kurt.ding [ 2023-03-30 ] |
|
Would someone take a look for PR ? |