[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #54814] httpd dynamic file read
From: |
Vua Hoa |
Subject: |
[lwip-devel] [bug #54814] httpd dynamic file read |
Date: |
Tue, 30 Oct 2018 07:53:02 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0 |
Follow-up Comment #6, bug #54814 (project lwip):
I did use file->pextension. At first time using dynamic reading, I use
'file->pextention' to store request information (ex: uri) and use 'file->data'
for response information (file handle, status...). But if 'file->data' not
NULL, the read function is not called, so i have to group all information to
'pextension' only. Of course, we can add other fields to fs_file struct but
this is informal.
Here i want to talk about the logic of the calling: the fs_read_custom shall
always be called to feed data; the httpd shall not automatically load data
(even from file->data).
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?54814>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/