Re: Wrong mimetype when served from nginx

2015-07-11 Thread Maxim Dounin
Hello! On Fri, Jul 10, 2015 at 08:00:06AM +0200, Cédric Jeanneret wrote: > Hello, > > I have a small issue with my nginx (1.2.1) configuration: > some files are served as "application/octet-stream" while they are > detected as "text/plain" by "mimetype " command. > > File names are just "1", "2

Re: Lost connection after reading 2147479552 bytes with sendfile

2015-07-11 Thread Maxim Dounin
Hello! On Fri, Jul 10, 2015 at 06:01:30PM +0200, Mathias Andre wrote: > I've bumped into a strange problem lately, and though I've found a > workaround I thought I'd post here to try and understand what the > underlying issue can be in case it affects anyone else. > > The short version is: > Run

Re: Nginx + PHP Windows Network Sharing Uploads locking/slow load time

2015-07-11 Thread c0nw0nk
So its because i'm using PHP's built in file session handler ? Should i switch it to maybe Wincache or something ? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260193,260215#msg-260215 ___ nginx mailing list nginx@nginx.org http://mailman.n

Re: Nginx + PHP Windows Network Sharing Uploads locking/slow load time

2015-07-11 Thread Richard Stanway
This is expected behavior if you are using PHP sessions. See http://php.net/manual/en/function.session-write-close.php On Fri, Jul 10, 2015 at 11:06 PM, c0nw0nk wrote: > Thanks for the information :) everything is default though so i am not sure > what i should even be changing anything to. > >