You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
| 2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
| 2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
| 2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
| 2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
| 2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
| 2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
| 2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
| 2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
|
2
|
3
|
4
(2) |
5
(5) |
6
(5) |
|
7
(5) |
8
(2) |
9
(5) |
10
(2) |
11
(2) |
12
(2) |
13
|
|
14
(5) |
15
(4) |
16
|
17
(2) |
18
(4) |
19
(2) |
20
(1) |
|
21
(1) |
22
|
23
|
24
|
25
(1) |
26
|
27
|
|
28
|
|
|
|
|
|
|
|
From: <php...@li...> - 2010-02-06 18:52:07
|
On Sat, 2010-02-06 at 23:36 +0700, php...@li... wrote: > > Does the remote server respond with HTTP/1.1 by any chance? > > It does. If the data you receive is encoded in HTTP/1.1 chunks, your fgets() is incorrect, too. The HTTP/1.1 chunk data format is: length\r\n data\r\n The last packet is: 000\r\n\r\n I don't think that there's a bug in PHP or the PHP/Java Bridge: Java.inc uses chunked connections too. Please take a look at the class java_ChunkedSocketChannel from Protocol.inc for an example how to receive HTTP/1.1 chunked data. I think the bug is in the line: contents = fgets($fs, 4096); // Chunk download The packet may be longer than 4096 bytes. You must extract the data length from eack packet header. Regards, Jost Bökemeier |
|
From: <php...@li...> - 2010-02-06 16:43:20
|
> Does the remote server respond with HTTP/1.1 by any chance? It does. > If so, the feof() test will not work, the last packet is zero, but the > connection isn't closed. It's failing before EOF. > So the 20KB you receive may be the remainder of the last connection. This might still be something to do with it, but on the last test with CURL and a 8k buffer: 175kb file downloaded okay 66MB file hung after 44kb downloaded It often works fine. So I'm considering using fsockopen and using 'set_time_limit' on each iteration and catching the exception when it hangs to retry the file a number of times. This will be a first for me. I appreciate your advice with this one. And the question I've been avoiding asking is now looming in my mind - any idea when 5.5.6 might be released? ;-) Thanks again, Mark... |
|
From: <php...@li...> - 2010-02-06 12:04:56
|
Does the remote server respond with HTTP/1.1 by any chance? If so, the feof() test will not work, the last packet is zero, but the connection isn't closed. So the 20KB you receive may be the remainder of the last connection. Regards, Jost Bökemeier |
|
From: <php...@li...> - 2010-02-06 11:03:57
|
> May be not. -- I just saw that your code doesn't use php://input, but > opens a HTTP/1.0 URL connection to some resource. > > What resource is it? A local or a remote resource? It is actually a remote resource. The code is installed on any PC, and downloads data from a specified and fixed Amazon Web Service S3 bucket. So I don't think this is covered by the scenario you described. But many thanks for looking at this as I understand it's not really in the scope of JavaBridge. Cheers, Mark... |
|
From: <php...@li...> - 2010-02-06 09:44:58
|
In PHP/Java Bridge version 5.5.5 you can use the PHP function
"virtual()" to include a local resource. I have added the following to
our FAQ:
How do I include a local (*.asp, *.jsp, ...) resource?
Use the virtual() function. If PHP is running within a JEE server or
servlet engine, the virtual() function is an alias for
java_context()->getHttpServletRequest()->getRequestDispatcher()->include()
Warning: Do not open a "loop back" url connection (e.g. via
fopen("http://localhost.../foo.asp")) to include the local resource.
This might exceed the HTTP server's pool size and create a deadlock!.
Regards,
Jost Bökemeier
|