Re: Odd CGI behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Josh:

Exactly right, thanks. I have recoded, and the problem disappeared.

Gord

*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  
*   Gord Ripley			                                
                      
*   Systems Librarian, 
*   Bata Library, Trent University,
*   1600 West Bank Drive
*   Peterborough, Ontario  K9J 7B8
* 
*   Voice : 705- 748-1011 ext. 7517
*   E-mail : gripley@xxxxxxxxx
*   Web : http://people.trentu.ca/gripley/
*
*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  


>>> joshua@xxxxxxxx 09/05/2008 12:56 pm >>>
On Thu, May 8, 2008 at 5:28 PM, Gord Ripley <gripley@xxxxxxxxx> wrote:
> Hi:
>
> I have a puzzle that has been nagging me all day. I'm POSTing from a
> TextArea to a CGI script that reads STDIN and writes the result to a
> file. File size is about 5K. Three times out of five the routines
work
> perfectly. Two times out of five STDIN is truncated to exactly 1378
> bytes. My Apache (2.x) error file shows an unspecified  [error] each
> time this happens. Nothing I have tried (change of compilers, etc.)
has
> made a difference. Does this ring any bells?

The "unspecified [error]" is most likely your CGI script writing to
stderr. The presence of this line leads me to believe that the problem
is someplace in your cgi script.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx 
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx 
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux