you should only be sending a small excerpt for the trackback, not the
entire file...
-sterling
On Wed, 23 Jun 2004 11:13:12 +0000, Garvin Hicking
<gar...@us...> wrote:
>
> Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_htmlvalidator
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4733/plugins/serendipity_event_htmlvalidator
>
> Modified Files:
> serendipity_event_htmlvalidator.php
> Log Message:
> No trackback for large files. Is 150kb a reasonable HTML-limit?
>
> Index: serendipity_event_htmlvalidator.php
> ===================================================================
> RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_htmlvalidator/serendipity_event_htmlvalidator.php,v
> retrieving revision 1.4
> retrieving revision 1.5
> diff -u -d -r1.4 -r1.5
> --- serendipity_event_htmlvalidator.php 22 Jun 2004 13:45:44 -0000 1.4
> +++ serendipity_event_htmlvalidator.php 23 Jun 2004 11:13:09 -0000 1.5
> @@ -198,10 +198,10 @@
> $REQUEST[] = 'Referer: http://validator.w3.org/';
> $REQUEST[] = 'Content-Type: multipart/form-data; boundary=---------------------------24464570528145';
> $REQUEST[] = 'Content-Length: ' . $request_length;
> - $REQUEST[] = 'Connection: close' . "\n";
> + $REQUEST[] = 'Connection: close' . "\r\n";
> $REQUEST[] = $request_data;
>
> - $REQUEST_STRING = implode("\n", $REQUEST);
> + $REQUEST_STRING = implode("\r\n", $REQUEST);
> fputs($fp, $REQUEST_STRING);
>
> $line = fgets($fp, 1024);
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> php-blog-cvs mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-blog-cvs
>
|