|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59081 Non-descriptive Exception thrown
Submitted: 2010-02-22 04:57 UTC Modified: 2010-06-09 02:25 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: maciej dot iwanowski at poszkole dot pl Assigned: mike (profile)
Status: No Feedback Package: pecl_http (PECL)
PHP Version: 5.2.12 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-02-22 04:57 UTC] maciej dot iwanowski at poszkole dot pl
When you try to upload a file using HttpRequest::addPostFile() but you provide a path to not existing file then generic HttpExcetion with message: "Empty or too short HTTP message" is thrown. 

What is really weird is the fact that call to HttpExcetion::getLine() will always return number of the last line in the file.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-28 02:42 UTC]
See $exception->innerException
 [2010-06-09 02:25 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 15:01:28 2024 UTC