[squid-users] Video played using vlc media player from a windows media server in not getting stored in cache

2013-09-17 Thread susu
Hi, I am playing a video which is hosted on a windows media server using vlc media player from a client. But the video is not getting stored in squid cache. I have checked the video is getting delivered using http. Do you have any idea why this is not getting cached. The video file is a wmv file.

Fwd: Re: [squid-users] Squid 3 Bad request reply

2013-09-17 Thread Mgr. Peter Tuharsky
Pôvodná správa --- Original Message Predmet: Re: [squid-users] Squid 3 Bad request reply Dátum: Thu, 12 Sep 2013 16:08:39 +0200 Od: Mgr. Peter Tuharsky tuhar...@misbb.sk Pre: Amos Jeffries squ...@treenet.co.nz Here is the full communication (one attempt): /* Frame (375

Re: [squid-users] Video played using vlc media player from a windows media server in not getting stored in cache

2013-09-17 Thread Pavel Kazlenka
Hi susu, The most common reason in this case is that video file is too big to be placed in cache when default squid disk cache settings are used. Please, show your squid.conf, especially cache_dir string. Also you can add 'debug_options 20,9 27,9 31,9 70,9 22,9 90,9' into your config file. I

[squid-users] Re: Empty macros in request_header_add for SSL connections [Squid 3.3.3]

2013-09-17 Thread libit
I've submitted this as bug 3929 http://bugs.squid-cache.org/show_bug.cgi?id=3929 -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Empty-macros-in-request-header-add-for-SSL-connections-Squid-3-3-3-tp4659578p4662175.html Sent from the Squid - Users mailing

[squid-users] Re: Video played using vlc media player from a windows media server in not getting stored in cache

2013-09-17 Thread susu
Hi Pavel, Here size of the big file is not an issue. If I am playing the same file using windows media player, it's getting cached. I have tried the method suggested by you. But those messages are not so clear to me. I am posting those messages below. Please have a look and tell if you can make

Re: [squid-users] Re: Video played using vlc media player from a windows media server in not getting stored in cache

2013-09-17 Thread Pavel Kazlenka
Ok, these two strings matter here, I guess: CheckQuickAbort2: YES bad content length storeCheckCachable: NO: release requested if (curlen expectlen) { debugs(90, 3, CheckQuickAbort2: YES bad content length); If I understand correctly, squid downloaded from origin server more, than

[squid-users] Re: Video played using vlc media player from a windows media server in not getting stored in cache

2013-09-17 Thread susu
Hi Pavel, I have seen that. I have also noticed that these things are not getting executed for windows media player and the content is getting cached. My question is why this condition is getting hit for vlc media player. In both the cases the server does not specify any content length. So squid

Re: [squid-users] Re: Video played using vlc media player from a windows media server in not getting stored in cache

2013-09-17 Thread Pavel Kazlenka
You have to understand, that only you are the one who can troubleshoot this. I can only point you at any steps. At the moment I have no answer to your question, but there is a chance we see anything interesting comparing the captures. On 09/17/2013 02:51 PM, susu wrote: Hi Pavel, I have

Re: [squid-users] Workers rock, aufs

2013-09-17 Thread Marcos A. Dzieva
Dear, Excuse me please, the main problem was squid -N, now is working fine. WARNING: disk-cache maximum object size is too large for mem-cache: 337920.00 KB 32.00 KB Only this warning has been getting attention, but does not seem to interfere with anything. It seems that he is referring to

Re: [squid-users] Squid intermittently fails with 503 after connect

2013-09-17 Thread John McGowan
Eliezer, I don't know how I missed this before when I looked at my configuration file. I had the line connect_timeout 3.0 seconds In my case the problem is most definitely occurring when connecting to a small subset of the servers. Those servers are likely under load and that's why I'm

Re: [squid-users] Disable -Werror when building Squid

2013-09-17 Thread Alex Rousskov
On 09/15/2013 04:44 AM, Jeffrey Walton wrote: On Sat, Sep 14, 2013 at 11:59 PM, Amos Jeffries squ...@treenet.co.nz wrote: On 14/09/2013 6:28 a.m., Jeffrey Walton wrote: I'm trying to get analysis tools on squid, but I'm having trouble due to -Werror. -Werror is causing a continuous stream of

Re: [squid-users] Squid intermittently fails with 503 after connect

2013-09-17 Thread Eliezer Croitoru
On 09/17/2013 05:37 PM, John McGowan wrote: Eliezer, I don't know how I missed this before when I looked at my configuration file. I had the line connect_timeout 3.0 seconds Makes sense in a case that the upstream service\server takes time to respond. This can be because of your proxy

Re: [squid-users] Re: Video played using vlc media player from a windows media server in not getting stored in cache

2013-09-17 Thread Eliezer Croitoru
Hey Subhrangsu, When squid dosn't cache a thing or two there is a reason for that.. if you can share one single or more access.log entries when squid runs with: strip_query_term off it will be good. Also take in account that sharing the request and response headers will benefit us with the option

[squid-users] compiler-flags.m4 and modifying options

2013-09-17 Thread Jeffrey Walton
Forgive my ignorance here because I still write my makefiles by hand. If I wanted to delete an option used by the project, is it as simple as removing the option from the switch statement around line 155: AC_DEFUN([SQUID_CC_GUESS_OPTIONS], [ AC_REQUIRE([SQUID_CC_GUESS_VARIANT])

[squid-users] Re: compiler-flags.m4 and modifying options

2013-09-17 Thread Jeffrey Walton
To answer my own question: NO. libtool: compile: gcc -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I../../libltdl -I../../lib -I/opt/local/include -I/opt/local/include -Wall -Wpointer-arith

[squid-users] sslbump dynamic certificates for CNAMEs issue

2013-09-17 Thread Matt Carey
I'm having an issue doing sslbumping with what seems to be isolated to CNAMEs where the certificate that is getting sent by squid (currently 3.3.9) back to the client has the CN field set to an IP address rather then a legit subject in the x509 certificate. An example of this behavior as seen

Re: [squid-users] sslbump dynamic certificates for CNAMEs issue

2013-09-17 Thread Jeffrey Walton
On Tue, Sep 17, 2013 at 7:02 PM, Matt Carey cvstealth2...@yahoo.com wrote: I'm having an issue doing sslbumping with what seems to be isolated to CNAMEs where the certificate that is getting sent by squid (currently 3.3.9) back to the client has the CN field set to an IP address rather then a

[squid-users] Set field in HTTP header in Squid 3.1

2013-09-17 Thread Sachin Gupta
Hi, We are using Squid 3.1 and need to do the following: 1. We have a list of URLs which we want to allow. 2. Squid to read this list of URLs and for each matching entry in the list, set a particular field (insert a string) in the HTTP header. 3. Using this header string, a URL filtering program

[squid-users] Re: Video played using vlc media player from a windows media server in not getting stored in cache

2013-09-17 Thread susu
Hi Eliezer, Thank you for your reply. I can give you the access.log entries while the video is getting played using vlc. Those are given below: 2013/09/17 10:40:30427 192.168.102.80 TCP_MISS/206 548 GET http://10.102.78.163/Police_122.wmv - DIRECT/10.102.78.163 video/x-ms-wvx VLC/2.0.7