more cgi processing multiform work.

This commit is contained in:
Brad Arant committed 2025-03-17 16:45:34 -07:00
1 parent b774e50b59
commit bd5223ca36
5 files changed
+44 -5

No files matched your search

+5 -1
View File
@@ -7,12 +7,16 @@ namespace coreutils {
IMFHeader::IMFHeader(int fd) {
char ch;
std::cout << "040" << std::endl;
int rc = ::read(fd, &ch, 1);
while(ch != 'r') {
while(ch != '\r') {
std::cout << (char)ch << std::endl;
IMFHeaderField *headerField = new IMFHeaderField(ch, fd);
headers.push_back(headerField);
}
std::cout << "041: " << ch << std::endl;
rc = ::read(fd, &ch, 1);
std::cout << "042: " << ch << std::endl;
}
}