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-08 17:35:22
|
> Yes, "mostly", indeed. The code you have posted doesn't work on any > operating system or HTTP server. I am very aware that you are much more experienced in these matters than me, but your statement does not explain why the code successfully downloaded about 2.6GB of data consisting of 25-30 different files in testing yesterday. Experiences like this imply that it does work. Though I accept that it might not be the most efficient way of doing it and I'm happy to accept the advice of people who have more knowledge than me and can help me to see better solutions. I did see this when I was reading back to look again at Peter's code: > 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: Received data isn't chunk encoded. Maybe I've not been clear on this point by using the words 'chunk download' in a comment. It was my figure of speech, rather than a declaration of intent to use chunk encoding. Perhaps 'buffer download' would've been more appropriate. > Peter > has already posted code which works To my inexperienced eye, this looks like it will receive chunk encoded data, but the server I'm using is not passing data using this method. Though I do appreciate Peter's response - I don't think I acknowledged it at the time (Cheers Peter!). To me, it seems that you believe I am receiving chunk encoded data but I'm not. I can see that my code would be completely wrong if I was trying to do that and your comments about the code would be completely valid. Your frustration that I've not understood this point is clear from the last two emails. However, advice from StackOverflow confirms that my code should work fine, that fread() should be used to make it more binary-safe, that CURL would be even better, and chunk encoding is not needed. So I have other approaches to try. Thanks again for taking the time out to reply. I don't think this needs to be discussed further either. And many thanks for providing libraries without which I would not have been able to proceed as far with this project as I have. Regards, Mark... |
From: <php...@li...> - 2010-02-08 16:25:29
|
On Mon, 2010-02-08 at 00:34 +0700, php...@li... wrote: > I found an approach that worked...mostly. Yes, "mostly", indeed. The code you have posted doesn't work on any operating system or HTTP server. > But it caused PHP to crash It certainly doesn't cause a crash. It causes PHP to hang for the reasons outlined in the previous post. > under JavaBridge and Tomcat. An experienced Java programmer saw the logs > and said it was due to a class error. Please re-read the error log. The hanging PHP instance has been killed during the tomcat shutdown sequence... Anyway, I don't think we need to discuss this issue any further, Peter has already posted code which works (except that I would read the terminating \r\n, too, but that's a matter of style). Just nuke your code and use his code instead. Please re-read the HTTP/1.1 spec for details why your code is completely wrong and causes PHP to hang sometimes. Regards, Jost Bökemeier |