> Hi,
>
> I am having trouble modifying the elog client to allow larger
attachment. I
> have elogd configure for attchment sizes of 10Meg and I would like the
> option to be able to use the elog client. Can anyone give me key points
as
> to how to go about doing this? I have tried but I must be missing
something.
>
> Also, as a suggestion, it might make sense to add a MAX_ATTACHMENT_SIZE
def
> in a common header file.
>
> Thanks
> Kevin
I modified the elog program such that the attachment buffer is dynamically
allocated which means that it works with any size. Please find the updated
version at
http://midas.psi.ch/cgi-bin/cvsweb/~checkout~/elog/elog.c?rev=1.10
Note that for attachments larger than ~2MB, one hase to increase the
WEB_BUFFER_SIZE in elogd.c.
- Stefan |