Commit 580f8a4
authored
feat: remove embedded FTPD (~3,300 LOC, ~48 KB runtime)
Delete all src/ftp*.c files (32 files) and include/ftpd.h.
Extract UCHAR/USHRT/UINT/ULONG/U64 typedefs into include/types.h.
Update include/httpcgi.h to use types.h instead of inline typedefs.
In include/httpd.h:
- Remove #include "ftpd.h", add #include "types.h"
- Replace FTPD *ftpd field with void *unused_50 (offset-stable)
In src/httpd.c:
- Remove FTP listener creation and accept() from socket_thread
- Remove FTPC eye-catcher branch from worker_thread
- Remove ftpdterm() call from terminate()
In src/httpdsrv.c:
- Remove display_ftpd() and FTPD table row
- Remove FTPC branch from display_queue_data()
In src/httpcons.c:
- Remove FTPD port display and FTPC branch from d_queue()
Fixes #421 parent 6eb1638 commit 580f8a4
39 files changed
Lines changed: 17 additions & 3864 deletions
File tree
- include
- src
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 37 | + | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 66 | | |
75 | 67 | | |
76 | 68 | | |
| |||
122 | 114 | | |
123 | 115 | | |
124 | 116 | | |
125 | | - | |
| 117 | + | |
126 | 118 | | |
127 | 119 | | |
128 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
This file was deleted.
0 commit comments