Re: [Mono-dev] TCP Async

2012-08-16 Thread Gonzalo Paniagua Javier
On Thu, Aug 9, 2012 at 11:57 AM, Greg Young wrote: > This would be a good one to get into trunk > https://github.com/ysw/mono-socket-problem/blob/master/Patches/cb_fix.patch Rodrigo, I did the patch above and it seems to make things better for Greg. I can't push it right now, can you? -Gonzalo _

Re: [Mono-dev] ConcurrentStack with value type in 2.10

2012-07-22 Thread Gonzalo Paniagua Javier
I have added bug #6229 with this information: https://bugzilla.xamarin.com/show_bug.cgi?id=6229 -Gonzalo On Sun, Jul 22, 2012 at 4:10 AM, Yuriy Solodkyy wrote: > Hi, > > It looks like the ConcurrentStack does not work with big enough > structures anymore. 12 bytes struct is enough to reproduce

Re: [Mono-dev] TCP Async

2012-07-21 Thread Gonzalo Paniagua Javier
On Tue, Jul 17, 2012 at 7:49 AM, Greg Young wrote: > Hey all. > > As this is a big issue for us and I feel a huge problem for mono in general > at this point as it means sockets basically dont work which is a strong > point of unix environments, I would like to propose something I have done in > t

Re: [Mono-dev] TCP Async

2012-06-28 Thread Gonzalo Paniagua Javier
On Wed, Jun 27, 2012 at 9:23 AM, Greg Young wrote: > Trying to get it into a testcase has been very difficult unfortunately > we only really see it at saturation levels and not commonly. Seems > like some kind of internal race condtion. > > Are the begin/end calls more stable and preferable at thi

Re: [Mono-dev] Potential security problem on EndPointManager.cs

2012-03-24 Thread Gonzalo Paniagua Javier
On Sat, Mar 24, 2012 at 9:38 AM, 정연운(Jung, Yeonwoon) wrote: [...] > > As you might know, this could be a potential vulnerability in term of > network security. If someone opens port on their machine with multiple > network interfaces combined with public/private IPs, even the person > restricted b

Re: [Mono-dev] Performance counters are not working under linux mono platform

2012-02-10 Thread Gonzalo Paniagua Javier
On Fri, Feb 10, 2012 at 5:55 AM, balaji wrote: > > > HI Gonzalo , > >   Thanks for the info.. > > Can you clarify the following > Is there any possibility to get performance counter values for non-mono > specific processes of a linux machine through C# program. > >  i have tried to get per

Re: [Mono-dev] Performance counters are not working under linux mono platform

2012-02-10 Thread Gonzalo Paniagua Javier
On Fri, Feb 10, 2012 at 2:55 AM, Gonzalo Paniagua Javier wrote: > On Fri, Feb 10, 2012 at 12:43 AM, balaji wrote: >> Hi, >> >> Does anyone know why Performance counters return zero value in the code >> below when executing under linux mono platform. >> >>  

[Mono-dev] Test

2012-01-13 Thread Gonzalo Paniagua Javier
Ignore. -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

[Mono-dev] Test

2012-01-13 Thread Gonzalo Paniagua Javier
This is a test. -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] StackOverflow on System.Delegate.Equals

2011-04-04 Thread Gonzalo Paniagua Javier
On Mon, 2011-04-04 at 20:48 +0100, Alan wrote: > Aren't event handler methods emitted with a [synchronized] attribute > by default which would prevent this issue? You can check by > disassembling the IL and seeing if its there. They are synchronized as long as you don't replace the default add/re

Re: [Mono-dev] [PATCH] System.Windows.Forms.Mime: Use freedesktop.org only on Unix platforms.

2011-03-29 Thread Gonzalo Paniagua Javier
On Tue, 2011-03-29 at 14:02 -0500, Vincent Povirk wrote: > This shouldn't be used in an environment like Wine, where the FDO mime > files of a real Windows system can be accessed. Applied to mono-2-10 and master. Thanks! -Gonzalo ___ Mono-devel-list

Re: [Mono-dev] threadpool win32 breakage, getting worse

2011-03-18 Thread Gonzalo Paniagua Javier
On Tue, 2011-03-15 at 19:15 +0900, Atsushi Eno wrote: > Gonzalo, > > Can you please fix Windows threadpool issue first before it becomes > worse than the previous state that we could only revert it to 32b3b31? > > Now we cannot even revert it to that revision: > > threadpool.c:2025: error: too f

Re: [Mono-dev] [PATCH] Replace ENABLE_COREE with a runtime switch.

2011-03-17 Thread Gonzalo Paniagua Javier
On Mon, 2011-03-07 at 14:11 -0600, Vincent Povirk wrote: > This patch mostly reverts 666d37829304e85f72969c44e92bc11ca167a272, > which put Mono's mixed-mode support in #ifdef ENABLE_COREE, disabling > it by default on Windows. > > It was disabled because it broke the verifier, and it still does. >

Re: [Mono-dev] [PATCHES] Improve process exit/wait handling

2011-03-16 Thread Gonzalo Paniagua Javier
Awesome patches. Comments below. On Thu, 2011-03-17 at 00:26 +0100, Rolf Bjarne Kvinge wrote: [...] > 4) Improve waiting on processes a lot > >Here are all the juicy bits: I changed process waiting to use >a SIGCHLD handler and automatically wait on all processes. >This fixes #668867.

Re: [Mono-dev] FileSystemWatcher on Windows (compared to .NET4)

2011-02-09 Thread Gonzalo Paniagua Javier
On Mon, 2011-02-07 at 14:28 -0800, kpfaulkner wrote: > Hi > > I've noticed that the results for "renamed" and "delete" events on mono > (2.8.2) and "native" .NET 4 are different. > > If I rename a directory for example I get: > > - mono I get a bunch of delete and create's... which is fairly

Re: [Mono-dev] Finalizers in CriticalHandle

2011-01-21 Thread Gonzalo Paniagua Javier
On Thu, 2011-01-20 at 16:15 +, Dick Porter wrote: > On 17 Jan 2011, at 6:00PM, Rodrigo Kumpera wrote: > > I'm not sure what the defined behavior is on this case, MSDN is not > > always accurate and we > > need to be as compatible with MS as possible. > > > > Could you please write a test case

Re: [Mono-dev] Problem building mono-2.8.1

2010-11-23 Thread Gonzalo Paniagua Javier
On Tue, 2010-11-23 at 13:31 +, Paul F. Johnson wrote: > Hi, > > Just working through the latest tarballs and have found I can't build > due to the following > > /home/paul/rpmbuild/BUILD/mono-2.8.1/mcs/class/lib/moonlight_raw/System.dll > (Location of the symbol related to previous warning)

Re: [Mono-dev] Bug in System.Web.Caching.Get() / Timer.Change() ?

2010-11-23 Thread Gonzalo Paniagua Javier
On Mon, 2010-11-22 at 15:05 +0100, jriepsh...@ujam.com wrote: > Dear all, > > on running Stress Test on our program, we encountered following exception: > > System.ArgumentException: Key 'System.Threading.Timer' already exists in list. > at System.Collections.SortedList.PutImpl (System.Object k

Re: [Mono-dev] [PATCH] XSP: FastCGI Backend should handle unmanaged socket error 10038 on close

2010-11-04 Thread Gonzalo Paniagua Javier
On Sat, 2010-02-20 at 15:30 -0600, Tiaan Geldenhuys wrote: > [Reposting -- should have done it earlier. The mailing-list servers were > weird over new-year's weekend, since it told me I was sending emails from > the future; now actually being in the future, I hope that resending emails > from the p

Re: [Mono-dev] High Traffic Site (for Harry Potter 7) is crashing!

2010-10-26 Thread Gonzalo Paniagua Javier
Oh, forgot another "small" detail. What does 'ulimit -n' report in that server? -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] High Traffic Site (for Harry Potter 7) is crashing!

2010-10-26 Thread Gonzalo Paniagua Javier
On Tue, 2010-10-26 at 13:59 -0700, Matthew Urbano wrote: > I've created a site for the new Harry Potter movie which is expected > to get a high volume of traffic, and on launch day we are now > crashing. > We are getting the following errors on the webservers due to traffic: > > Maximum number of

Re: [Mono-dev] [Patch] Fix bug where HttpWebRequest.BeginResponse never completes

2010-10-04 Thread Gonzalo Paniagua Javier
On Thu, 2010-09-30 at 20:16 -0400, Bassam Tabbara wrote: > We are seeing a case where HttpWebRequest.BeginResponse never > completes even through there is a response outstanding on the > connection. We see this with mono 2.6.7. I’ve traces this down to the > HttpWebRequest.SetResponseData method. A

Re: [Mono-dev] HttpListener https bug?

2010-09-09 Thread Gonzalo Paniagua Javier
On Wed, 2010-09-08 at 18:10 -0700, salar2k wrote: > Guess it doesn't needed because the issue occurs even with your peace of > program. > > And yes i'm working on kind of proxy software. (is that important?) Yes. The way the browser tries to set up a https connection through the proxy is by using

Re: [Mono-dev] HttpListener https bug?

2010-09-08 Thread Gonzalo Paniagua Javier
On Tue, 2010-09-07 at 22:56 -0700, salar2k wrote: > Thanks for the reply. > > I've done the way you did and it works. But that was not my issue. > > Try to set browser's proxy to "localhost:9667" and browse > https://mail.google.com/mail/ . > You will see it doesn't work and connection resets. >

Re: [Mono-dev] HttpListener https bug?

2010-09-07 Thread Gonzalo Paniagua Javier
I've followed the steps in http://www.mono-project.com/UsingClientCertificatesWithXSP to create a root certificate and a client certificate (instead of generating a .p12, I created a .pvk and a .cer) and then used the "client" certificate as my server's. Then I created a small program (attached hl

Re: [Mono-dev] Cannot get UrlRewriter.net to work with Mono 2.6.7

2010-08-25 Thread Gonzalo Paniagua Javier
On Mon, 2010-08-23 at 19:02 -0700, Matthew Urbano wrote: > I'm trying to rewrite some URLs using Intelligencia.UrlRewriter.dll > from UrlRewriter.net. I have added the reference to the dll, placed > the dll in the site's bin folder, and added the following lines to my > web.config [...] > > Am I

Re: [Mono-dev] [patch] exception while loading configuration

2010-08-05 Thread Gonzalo Paniagua Javier
On Thu, 2010-08-05 at 16:50 +0200, Jb Evain wrote: > Hey, > > While investigating an issue and running with > MONO_ENV_OPTIONS=--trace=E:all I noticed that when we're loading the > current configuration, we throw and immediately swallow an exception > when there's no .config file for the current e

[Mono-dev] Migration to GitHub completed!

2010-07-22 Thread Gonzalo Paniagua Javier
Hello, Our migration to GitHub is now completed. See http://mono-project.com/GitFAQ for more details. svn+ssh://mono-cvs.ximian.com/source will be kept alive in read-only mode. Happy hacking! -Gonzalo ___ Mono-devel-list mailing list Mono-devel-lis

[Mono-dev] [IMPORTANT] Save the date: Migration to git on Thursday July 22nd

2010-07-19 Thread Gonzalo Paniagua Javier
We are moving our source code repository to GitHub. On July 22nd ~9am EDT (1300 GMT) the subversion repository at "svn +ssh://mono-cvs.ximian.com/source" will be set to read-only mode and kept that way forever. We estimate that the process of migrating all the projects and moving them to GitHub w

Re: [Mono-dev] [PATCH] Implement System.Net.WebClient.set_CachePolicy.

2010-07-16 Thread Gonzalo Paniagua Javier
On Tue, 2010-07-06 at 14:50 -0500, Vincent Povirk wrote: > The value is currently ignored, but that is a problem for WebRequest. This is now in svn. Thanks! -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian

[Mono-dev] Migration to git: testing

2010-07-16 Thread Gonzalo Paniagua Javier
Hello, We are testing the svn to git migration of all (or most of) the projects in Mono's subversion repository. GitHub is kindly providing their servers to host the new git repositories. By now, there are three projects uploaded that can be cloned from the following URLs: git://github.c

Re: [Mono-dev] Test Suite Failures, Revision 2

2010-04-05 Thread Gonzalo Paniagua Javier
On Mon, 2010-04-05 at 14:28 +0900, Atsushi Eno wrote: > > -- test-System_ServiceModel -- > > 6 sporadic timeouts > > started in r154243 (Gonzalo) > > http://build.mono-project.com/GetFile.aspx?id=2257888 > > Gonzalo, tell me if you got some fixes. I'll stick to r154237 so far > (after updating my

Re: [Mono-dev] UdpClient.Receive returns invalid IPv6 address.

2010-04-02 Thread Gonzalo Paniagua Javier
On Fri, 2010-04-02 at 17:13 +0400, lost wrote: > Hello. > > I'm using Debian 5 with Mono 2.4.2.3 from backports.org > I have simple reply application written in F#: Can you enter this information in bugzila.novell.com (see mono-project.com/Bugs)? -Gonzalo __

Re: [Mono-dev] [PATCH] Improve System.Net.WebClient's CreateUri(Uri address) query string handling

2010-03-21 Thread Gonzalo Paniagua Javier
On Sun, 2010-03-21 at 21:34 -0700, Jon Herron wrote: > Thanks for the commit, there still seems to be an issue when > WebClient's QueryString property is set - it appears to be ignoring it > if the address has a query string as well, instead of appending it to > address' query string. I've include

Re: [Mono-dev] [Mono-patches] r153961 - trunk/mono/mono/metadata

2010-03-21 Thread Gonzalo Paniagua Javier
On Sun, 2010-03-21 at 23:54 +0100, Andreas Färber wrote: > Hi Gonzalo, > > Am 21.03.2010 um 23:30 schrieb Gonzalo Paniagua Javier: > > > I would just #ifdef out the entire case statement so if that > > protocol is > > used by any program and is not suppo

Re: [Mono-dev] [Mono-patches] r153961 - trunk/mono/mono/metadata

2010-03-21 Thread Gonzalo Paniagua Javier
Andreas, I would just #ifdef out the entire case statement so if that protocol is used by any program and is not supported, the program will get the appropriate exception. -Gonzalo On Sun, 2010-03-21 at 14:55 -0400, Andreas Färber (andreas.faer...@web.de) wrote: > Author: afaerber > Date: 2010-

Re: [Mono-dev] [PATCH] Improve System.Net.WebClient's CreateUri(Uri address) query string handling

2010-03-21 Thread Gonzalo Paniagua Javier
/?var1=ok and more text > also&var2=4&var3=caribou?qs_a=1&qs_b=some+var&qs_c=another HTTP/1.1" 200 3662 > > Granted the second question mark is a problem, but it is consistent - however > one could argue a new bug is worse than an existing bug I suppose. > &g

Re: [Mono-dev] [PATCH] Improve System.Net.WebClient's CreateUri(Uri address) query string handling

2010-03-19 Thread Gonzalo Paniagua Javier
On Fri, 2010-03-19 at 21:08 -0700, Jon Herron wrote: > This patch fixes an issue I ran into when passing a Uri to WebClient's > DownloadString method that contains a query string - CreateUri would > re-append the query string to the end of the uri. This makes > CreateUri work similar to MakeUri.

Re: [Mono-dev] mono 2.6.3 breaks https connections

2010-03-18 Thread Gonzalo Paniagua Javier
On Fri, 2010-03-19 at 00:28 +0100, Latif Khalifa wrote: > Just recompiled using mono 2.6.3 tarball and several of my > applications stopped working, all displaying this on the console > > ** (OpenSim.exe:25319): WARNING **: Missing method .ctor in assembly > /usr/lib/mono/gac/System/2.0.0.0__b77a5

[Mono-dev] Heads up: building System in trunka and mono-2-6

2010-03-10 Thread Gonzalo Paniagua Javier
If you see any error when compiling System in trunk or 2-6 related to a type mismatch or similar (System.Net), it means that you need to either 'make clean' or 'make && make install' in Mono.Security before building System. -Gonzalo ___ Mono-devel-list

Re: [Mono-dev] Here's a patch for /dev/shm/mono.pid's piling up on Linux

2010-03-03 Thread Gonzalo Paniagua Javier
On Wed, 2010-03-03 at 05:54 -0800, cpMon wrote: > Here's a patch you should consider for mono-2.6.1. Specifically, I noticed > that /dev/shm/mono.pid files were piling up and not being cleaned up as they > should have been. mono-mmap.c tries to get rid of stale ones with a kill but > they don't che

Re: [Mono-dev] Removing Obsolete Code from Mono 2.8

2010-03-01 Thread Gonzalo Paniagua Javier
On Mon, 2010-03-01 at 10:13 -0800, Daniel Morgan wrote: > Obsolete Types in .NET 4.0 > http://msdn.microsoft.com/en-us/library/ee461503%28VS.100%29.aspx > > Here's my 2 cents. > > Remove Mono.Data.dll which has been superceded by the provider factory added > to System.Data.dll in .NET 2.0. The

Re: [Mono-dev] Making MONO_DISABLE_SHM the default for 2.8 ?

2010-02-25 Thread Gonzalo Paniagua Javier
On Fri, 2010-02-26 at 01:45 +0100, Zoltan Varga wrote: > > Mono currently implements a shared handle mechanism to support .net > applications which share handles between processes, a > windows feature. This requires sharing state between mono processes, > which is very problematic, so I would su

[Mono-dev] Mono servers maintenance: 11am-noon EST Saturday Feb. 20th

2010-02-19 Thread Gonzalo Paniagua Javier
We have just been informed that tomorrow, Saturday 20th, some of the Mono servers will be shutdown and restarted at some point between 11am and noon. This will affect the following servers: * go-mono.com * mono-cvs.ximian.com * mono.ximian.com * the download and act

Re: [Mono-dev] [PATCH] Fix HashSet when used with nulls and non-default comparer

2010-02-13 Thread Gonzalo Paniagua Javier
On Sat, 2010-02-13 at 17:39 +0100, Jb Evain wrote: > Hey Tiaan, > > On Fri, Feb 12, 2010 at 3:39 AM, Tiaan Geldenhuys wrote: > > Please review carefully before committing. (I hope those long expressions > > are right -- they seem to be though.) > > Could you please file a bug and attach the pat

Re: [Mono-dev] mono 2.6+ : Garbage added to BinaryWriter/GZipStream output?

2010-01-31 Thread Gonzalo Paniagua Javier
On Sun, 2010-01-31 at 13:29 -0500, Miguel de Icaza wrote: > Hello Hin-Tak, > > There was a bug in Mono 2.6 that got fixed in a service release (2.6.1). > > Could you confirm which Mono version you are running? Use: mono > --version on the command line. I applied the patch that Hin-Tak

Re: [Mono-dev] poor compression with mono 2.6 (Re: mono 2.6+ : Garbage added to BinaryWriter/GZipStream output?)

2010-01-27 Thread Gonzalo Paniagua Javier
On Thu, 2010-01-28 at 03:19 +, Hin-Tak Leung wrote: > sorry, attached the wrong patch in the previous e-mail. (ReadStream probably > should use NO_FLUSH For performance as well?). > > File the issue as Bug 574597 , since mono 2.4 behaves much better (and better > than MS .Net), mono 2.6's be

Re: [Mono-dev] Why not build official site on ASP.NET? Mono should enhance server performance and stability!

2009-12-07 Thread Gonzalo Paniagua Javier
On Mon, 2009-12-07 at 15:12 -0200, Rafael Teixeira wrote: > You could look at the source of MonoTorrent, and also of XSP that does > use a separate ThreadPool AFAIR. XSP does not use and has never had a separate threadpool. -Gonzalo ___ Mono-devel-list

Re: [Mono-dev] Why not build official site on ASP.NET? Mono should enhance server performance and stability!

2009-12-07 Thread Gonzalo Paniagua Javier
On Mon, 2009-12-07 at 07:57 +0800, Laser Lu wrote: [...] > So I doubt whether Mono is suitable for developing server programs > which should be able to handle a huge amount of concurrent requests. I doubt you know what you're talking about because Mono XSP and a fairly large part of the class libr

Re: [Mono-dev] Why not build official site on ASP.NET? Mono should enhance server performance and stability!

2009-12-07 Thread Gonzalo Paniagua Javier
On Mon, 2009-12-07 at 07:57 +0800, Laser Lu wrote: > I was just wondering, why the mono official site was not built on > ASP.NET/C#? That would be a good demonstration. > > Currently, I’m developing a Web IM program, and it works fine on > Windows/.NET. However, the same code had a poor performan

Re: [Mono-dev] Patch

2009-11-16 Thread Gonzalo Paniagua Javier
On Fri, 2009-11-13 at 12:06 -0500, James P Michels III wrote: > I would like to submit this patch to correct a minor mistake in the > DefaultWatcher.cs source. > > The change corrects an instance of unsynchronized access to shared state > and is probably the intent of the original code. The pat

Re: [Mono-dev] HttpOnly and Expires not handled by CookieContainer.SetCookies(Uri, string)

2009-10-25 Thread Gonzalo Paniagua Javier
On Sat, 2009-10-24 at 22:20 -0700, Tom Philpot wrote: > While troubleshooting a web service authentication problem our app is > having, I noticed that CookieContainer.SetCookies(Uri, string) has a few > problems. > > 1) It assumes that the Set-Cookie header only has one cookie in it, since it > do

Re: [Mono-dev] 2.6 preview 1

2009-10-23 Thread Gonzalo Paniagua Javier
On Thu, 2009-10-22 at 15:06 -0700, Anthony Bowker wrote: > I haven't seen much chatter (on mono-devel-list) recently about the 2.6 > release. > > I wondered, is it would be possible to get a fix for > https://bugzilla.novell.com/show_bug.cgi?id=495957, a regression from 2.2, > into the 2.6 release

Re: [Mono-dev] [Mono-patches] r144627 - in trunk/mcs/class/corlib: System.Threading Test/System.Threading

2009-10-23 Thread Gonzalo Paniagua Javier
On Thu, 2009-10-22 at 09:53 -0400, Sebastien Pouliot wrote: > On Thu, 2009-10-22 at 11:38 -0200, Rodrigo Kumpera wrote: > > Hey Sebastien, > > > > If a given test doesn't work under MS, please don't mark it as > > "NotWorking" since this is used to flag problems > > on mono's side and not on the t

Re: [Mono-dev] License compiler for mono (the actual tool)

2009-10-21 Thread Gonzalo Paniagua Javier
On Wed, 2009-10-21 at 09:18 +0200, Carlo Kok wrote: > On 10/17/2009 12:35 AM, Gonzalo Paniagua Javier wrote: > >> > >> I'm afraid I have no idea how to do that. I've never created a MAN file. > > > > Use one from mono/man as a template and don't be a

Re: [Mono-dev] License compiler for mono (the actual tool)

2009-10-16 Thread Gonzalo Paniagua Javier
On Fri, 2009-10-16 at 10:15 +0200, Carlo Kok wrote: > On 10/16/2009 5:20 AM, Gonzalo Paniagua Javier wrote: > > On Tue, 2009-10-13 at 15:43 +0200, Carlo Kok wrote: > >> attached to this mail is a (working) license compiler for mono (converts > >> a licx file to a

Re: [Mono-dev] License compiler for mono (the actual tool)

2009-10-15 Thread Gonzalo Paniagua Javier
On Tue, 2009-10-13 at 15:43 +0200, Carlo Kok wrote: > attached to this mail is a (working) license compiler for mono (converts > a licx file to a .licenses file that can be embedded as a resource). > Works with the patch I sent earlier but also without (has a temporary > workaround for that). It

Re: [Mono-dev] [patch] implements RuntimeLicenseContext (Deserialization) & design time serialization

2009-10-15 Thread Gonzalo Paniagua Javier
On Tue, 2009-10-13 at 13:49 +0200, Carlo Kok wrote: > The attached patch implements the loading into the runtime license > context to allow pre-compiled websites & applications with licenses to > properly run. > > It also implements the DesignTimeLicenseContext serialization support so > once a

Re: [Mono-dev] asp.net application accessible via http and https

2009-10-13 Thread Gonzalo Paniagua Javier
On Tue, 2009-10-13 at 10:18 +0200, Cyrille Colin wrote: > hi all, > i would like to run an asp.net application accessible via http and https > simultaneously on linux and use Request.IsSecureConnection to know > protocol that have been used. > Is there a way to configure mod-mono or apache to have

Re: [Mono-dev] [PATCH] Network Performance Counters - V2

2009-10-11 Thread Gonzalo Paniagua Javier
On Sun, 2009-10-11 at 20:36 -0400, Joel Reed wrote: > I can do paper work if u like. > > I hereby state this patch to be released under the MIT/X11 license. The patch is in svn trunk and mono-2-6 now. I made a small change in network_cleanup because narg->name was not being freed. Thanks! -Gonz

Re: [Mono-dev] [PATCH] Network Performance Counters - V2

2009-10-11 Thread Gonzalo Paniagua Javier
On Sat, 2009-10-10 at 17:17 -0400, Joel Reed wrote: > This is version 2 of my network performance counters patch. I rebased it > onto the 20091009 daily tarball. > > Per Gonzalo's comments seen here: > http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg22135.html, > I've: > > 1) M

[Mono-dev] mono-cvs taking a break

2009-10-09 Thread Gonzalo Paniagua Javier
Hello, mono-cvs.ximian.com is being moved to a different location later today, Friday Oct. 9th. It will be offline at some point within the next 3 hours (it's almost noon EDT) and will be back online in the afternoon/evening on Saturday Oct. 10th. Hold your patches until then. -Gonzalo

Re: [Mono-dev] Patch for HttpRuntime and HttpServerUtility to bring API in sync with .NET 2.0 SP2

2009-09-29 Thread Gonzalo Paniagua Javier
On Tue, 2009-09-29 at 17:07 -0400, Nick Berardi wrote: > Hi guys, > > I looked in to this more and there are a couple issues that popped up > when trying to implement the following method: > > public void TransferRequest(string path, bool preserveForm, string > method, NameValueCollection headers

Re: [Mono-dev] HttpContext.cs, The type or namespace name `Assembly' could not be found.

2009-09-29 Thread Gonzalo Paniagua Javier
On Tue, 2009-09-29 at 18:09 +0900, KISHIMOTO, Makoto wrote: > Hello, > > Mono SVN trunk build broken, in my FreeBSD RELENG_8. > > ...(snip) > gmake[8]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/System.Web' > MCS [net_1_1] System.Web.dll > System.Web/HttpContext.cs(59,24): error

Re: [Mono-dev] [PATCH] Network Performance Counters

2009-09-29 Thread Gonzalo Paniagua Javier
On Mon, 2009-09-28 at 22:11 -0400, Joel Reed wrote: > The attached patch implements 3 "Network Interface" performance category > counters. The counters are "Bytes Received/sec", "Bytes Sent/sec", and > "Bytes Total/sec". A sample program using these counters and sample > output is attached as we

Re: [Mono-dev] Ping throwing exception

2009-09-28 Thread Gonzalo Paniagua Javier
On Mon, 2009-09-28 at 12:22 -0400, Gladish, Jacob wrote: > I'm getting an exception from an application that is repeatedly running > pings. The Ping class looks like it'll switch between invoking /bin/ping and > sending an ICMP directly depending on the user. I'm running as a > non-privileged us

[Mono-dev] [PATCH] Threadpool changes + performance counters

2009-09-24 Thread Gonzalo Paniagua Javier
Hello folks. Attached is a patch that does a few changes to the threadpool: -There is a list of idle threads -Each of those idle threads wait on their own WaitHandle instead of all of them using the same semaphore. When a new work item is added, the job is assigned

Re: [Mono-dev] [Mono-patches] r142362 - in trunk/gtk-sharp: . glib

2009-09-21 Thread Gonzalo Paniagua Javier
Brad, When explicitly calling Dispose(), Remove() and Source.Remove () are called. Both will acquire a lock to access the same table and attempt to remove the same ID... -Gonzalo On Mon, 2009-09-21 at 22:19 -0400, Brad Taylor (b...@getcoded.net) wrote: > Author: btaylor > Date: 2009-09-21 22:19:

Re: [Mono-dev] web.config Assembly binding not working

2009-09-21 Thread Gonzalo Paniagua Javier
On Mon, 2009-09-21 at 14:06 +0200, APS wrote: > No hints? We should probably copy that sectin when making a shadow copy of the assembly. Do you mind entering a bug report? (see http://mono-project.com/Bugs) -Gonzalo ___ Mono-devel-list mailing list Mo

Re: [Mono-dev] Assembly loader load several times the same dll

2009-09-21 Thread Gonzalo Paniagua Javier
On Mon, 2009-09-21 at 14:06 +0200, APS wrote: > No hints? Each assembly is loaded once per application domain and each asp.net application runs in its own domain... -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://list

Re: [Mono-dev] BinaryReader does not reset decoder

2009-09-19 Thread Gonzalo Paniagua Javier
On Wed, 2009-09-09 at 16:31 +0200, Martin Dvořák wrote: > Hi, > While looking at the source code of System.IO.BinaryReader [1] I > noticed it reuses char decoder and I'm just wondering whether it is ok > that the BinaryReader does not reset its internal state before the > loop in ReadString method.

Re: [Mono-dev] Windows Eglib Build Broken

2009-09-03 Thread Gonzalo Paniagua Javier
On Wed, 2009-09-02 at 14:56 -0500, Jonathan Pobst wrote: > Hey guys, > > The Windows Eglib (MSVC) build is broken. The error is this: > > "C:\mono-workspace\mono\msvc\mono.sln" (default target) (1) -> > (Libraries\monoposixhelper target) -> >c:\Program Files\Microsoft Visual Studio 9.0\VC\in

Re: [Mono-dev] [PATCH] Re: Patch to fix comparison of DateTime objects in Mono.Data.SqlExpressions

2009-08-31 Thread Gonzalo Paniagua Javier
On Sat, 2009-08-15 at 00:41 -0700, Adam Wendt wrote: > It would be nice to get this patch in SVN so that it can make its way > into one of the next few releases. Is there something holding this up? This has been applied in trunk. Thanks! -Gonzalo ___

Re: [Mono-dev] status of System.Messaging in Mono

2009-07-15 Thread Gonzalo Paniagua Javier
On Wed, 2009-07-15 at 22:47 +0100, Michael Barker wrote: > > Is this info anywhere in the wiki? It would be nice if the > > System.Messaging page was updated... (and no, I'm not volunteering ;-). > > Some updates made, I'll endeavour to keep it up to date as my work progresses. > > http://mono-pr

Re: [Mono-dev] Memory usage on Mono remoting

2009-07-15 Thread Gonzalo Paniagua Javier
On Wed, 2009-07-15 at 13:29 +0200, pablosantosl...@terra.es wrote: [...] > > Your guess is wrong. Those asynchronous calls from Socket are treated as > > if they were a WorkItem for a ThreadPool, only that when they are made, > > the socket is added to an epoll fd (if you're on linux with support f

Re: [Mono-dev] [PATCH] 2 Small fixes in the System.Web Namespace

2009-07-14 Thread Gonzalo Paniagua Javier
This is now in mono-2-4 and HEAD. Thanks. -Gonzalo On Wed, 2009-07-08 at 16:17 +, Daniel Gagne wrote: > This patch contains 2 small midfications in the System.Web namespace: > > ParserErrorCollection - Added Setter > enum ApplicationShutdownReason - Added new 3.5 type > > danny > __

Re: [Mono-dev] Performance of TextWriter.ReadToEnd()

2009-07-14 Thread Gonzalo Paniagua Javier
On Tue, 2009-07-14 at 18:06 -0500, Jimmy Tang wrote: > I'm playing around with some of the language shootout game benchmarks > at http://shootout.alioth.debian.org, > and I noticed a striking performance issue; > > I'm testing on mono 2.4 build 6 / vista64 vs .NET 3.5 sp1. Test code: > > static v

Re: [Mono-dev] sending smtp email under SSL

2009-07-14 Thread Gonzalo Paniagua Javier
Try setting the certificate validation callback. If you're running mono from HEAD (if you don't know what this is, you are not): --- // This will trust *any* certificate ServicePointManager.ServerCertificateValidationCallback += delegate(object sender, X509Cert

Re: [Mono-dev] status of System.Messaging in Mono

2009-07-14 Thread Gonzalo Paniagua Javier
On Tue, 2009-07-14 at 07:34 +0100, Michael Barker wrote: > Hi, > > I am actively working on implementing System.Messaging for Mono using > RabbitMQ as a messaging bus implementation, which should be included > in the latest builds. It should be considered as alpha at the moment. > I am really in

Re: [Mono-dev] Memory usage on Mono remoting

2009-07-14 Thread Gonzalo Paniagua Javier
On Tue, 2009-07-14 at 11:12 +0200, pablosantosl...@terra.es wrote: > Hi Gonzalo, > > >> Testing PlasticSCM under really heavy load (hundreds of clients against > >> a single server delivering hundreds of Gb over the network). > >> > > > > So no profiling... > > > > > Comparing the same cod

Re: [Mono-dev] Memory usage on Mono remoting

2009-07-13 Thread Gonzalo Paniagua Javier
On Mon, 2009-07-13 at 19:59 +0200, pablosantosl...@terra.es wrote: [...] > > > > Are you volunteering? Have you profiled the application or is this just > > a guess? > > > > > Testing PlasticSCM under really heavy load (hundreds of clients against > a single server delivering hundreds of Gb ove

Re: [Mono-dev] TcpServerChannel loosing connections under heavy load

2009-07-13 Thread Gonzalo Paniagua Javier
On Sun, 2009-07-12 at 00:11 +0200, pablosantosl...@terra.es wrote: > Hi, > > I'm having issues with Mono remoting under high performance networking > scenarios. Some clients are rejected since the server is not able to > handle connections. > > Look at the following code inside TcpServerChannel >

Re: [Mono-dev] Memory usage on Mono remoting

2009-07-13 Thread Gonzalo Paniagua Javier
On Mon, 2009-07-13 at 19:39 +0200, pablosantosl...@terra.es wrote: > Hi all, > > On BinaryServerFormatterSink.cs, a new MemoryStream is being created to > attend every remoting call. > > Under high load conditions it will make the GC work harder than > required, both decreasing performance and po

Re: [Mono-dev] TcpServerChannel loosing connections under heavy load

2009-07-13 Thread Gonzalo Paniagua Javier
On Mon, 2009-07-13 at 19:36 +0200, pablosantosl...@terra.es wrote: [...] > > That should be modified to make use of the .NET ThreadPool and use > > asynchronous operations for accept, read and write (this last one is not > > "mandatory"). There's code in xsp that illustrates the way it should be >

Re: [Mono-dev] [PATCH] ShellExecuteEx

2009-07-10 Thread Gonzalo Paniagua Javier
On Fri, 2009-07-10 at 17:04 -0400, Bill Holmes wrote: > Hi, > > The attached patch fixes Mono on Windows not respecting the > WindowStyle property of the start info when calling Process.Start with > UseShellExecute set to true. Looks good. -Gonzalo _

Re: [Mono-dev] [PATCH] System.Web ParseError - API Compatibility (added 3 missing members)

2009-07-07 Thread Gonzalo Paniagua Javier
On Mon, 2009-07-06 at 16:15 -0400, Daniel Gagne wrote: > Hi, > > This is my first patch submission, so I decided to attack some low > hanging fruit to understand the entire build/patch/submission process. This is now in HEAD and mono-2-4. Thanks. -Gonzalo __

Re: [Mono-dev] Understanding web application loading time

2009-05-14 Thread Gonzalo Paniagua Javier
On Thu, 2009-05-14 at 18:56 +0200, APS wrote: > Without batch compilation the application starts faster but opening a > new page results in minutes of waiting. > > I tried strace on mod_mono and the only thing that seems to be a > problem is a long list of > > futex(0x829b4e4, FUTEX_WAIT_PRIVATE,

Re: [Mono-dev] Problem with reference not refreshed

2009-05-14 Thread Gonzalo Paniagua Javier
On Thu, 2009-05-14 at 18:34 +0200, APS wrote: > Hi, > > I'm working on a webapplication with mod_mono. The web app runs well > but if I try to update an assembly with a different version I obtain a > Compilation Error > saying that an assembly could not be loaded. > In detailed errors I see that

Re: [Mono-dev] Understanding web application loading time

2009-05-13 Thread Gonzalo Paniagua Javier
On Wed, 2009-05-13 at 18:26 +0200, APS wrote: > Hi, > > I've a web application that runs under apache with mod_mono v2. > It takes more than 20 minutes to load a directory containing 250 > .ascx + 250 .aspx > I would like to understand how the time is spent, there's a way to > log what mono does

Re: [Mono-dev] HttpConnection not unregistering HttpListenerContext when KeepAlive is true

2009-05-08 Thread Gonzalo Paniagua Javier
On Fri, 2009-05-08 at 09:44 -0500, Peter Erickson wrote: > Hi - I have a question regarding the way HttpConnection behaves when > Keep Alive is enabled. If response.KeepAlive is true (the default), > and therefore no Conenction: close header is sent, HttpConnection > doesn't call epl.UnbindC

Re: [Mono-dev] Web Application recycling politics

2009-05-08 Thread Gonzalo Paniagua Javier
On Fri, 2009-05-08 at 10:26 +0200, APS wrote: > Hi, > > I'm using Mono 2.0.1 on openSuse to run a 2.0 web application hosted > on Apache2 with mod_mono. > I would like to understand when the application is recycled. > MS Framework restarts application when web.config is modified, when > an assem

Re: [Mono-dev] sql client question

2009-04-27 Thread Gonzalo Paniagua Javier
On Mon, 2009-04-27 at 17:04 -0700, Steve Bjorg wrote: > Gonzalo, > > Thanks. To clarify, how about the bits that were in 1.9.1? Were > there significant changes since then? Yes, a lot of changes and fixes since then. Updating to 2.4 is definitely recommended. -Gonzalo _

Re: [Mono-dev] sql client question

2009-04-27 Thread Gonzalo Paniagua Javier
On Mon, 2009-04-27 at 14:28 -0700, Steve Bjorg wrote: > Quick question about the SqlClient (http://mono-project.com/ > SQLClient): is anyone using it extensively for long periods of time? > How reliable is it? Thanks! The longest time I've run it has been about 10h doing a load test in a web

Re: [Mono-dev] WebClient.DownloadFile doesn't work on Windows

2009-04-26 Thread Gonzalo Paniagua Javier
On Thu, 2009-04-23 at 12:38 +0200, Andoni Morales wrote: > I'm trying to implement an updates notifier for my program. It > downloads an XML file describing to latest version using > "WebClient.DownloadFile" and compares the actual version number with > the one installed > (https://forja.rediris.es

Re: [Mono-dev] Use eglib as a default for mono 2.6

2009-04-15 Thread Gonzalo Paniagua Javier
On Wed, 2009-04-15 at 22:49 +0200, Andreas Färber wrote: [...] > Why not take the same route as GNU libiconv? The eglib headers could > #define GLib symbols to have a mono_ prefix, distinguishing them from > any real GLib symbols that might get linked in somewhere. Mono's > runtime code would

[Mono-dev] GO-MONO.COM is moving

2009-04-15 Thread Gonzalo Paniagua Javier
Folks, We are in the process of moving go-mono.com to a new machine. I've tried to make sure all the pages we host there work just fine and the transition is smooth. Anyway, if you see anything wrong with the server within the next few hours, join #mono at irc.gimpnet.org and let me know. Thank

Re: [Mono-dev] get mac address using system.management

2009-04-13 Thread Gonzalo Paniagua Javier
On Mon, 2009-04-13 at 10:50 -0700, tooty wrote: > hi all, > i used to get mac address of Ethernet adapter under windows, using the > following code: > > // > Dim mc As System.Management.ManagementClass > Dim mo As ManagementObject > mc = New ManagementClass("Win32_NetworkAdapterConfigu

Re: [Mono-dev] Problem with a NameValueCollection

2009-04-13 Thread Gonzalo Paniagua Javier
On Mon, 2009-04-13 at 13:22 +0200, Sebastian Schäfer wrote: > Hi, > > i'm using the myspaceid-sdk and want to use it with mono 2.4... > > And there is a problem with the handling of a NameValueCollection... > > the code looks like: > > > var query = HttpUtility.ParseQueryString(uri.Query); //

Re: [Mono-dev] New Mono API status pages.

2009-04-11 Thread Gonzalo Paniagua Javier
On Sat, 2009-04-11 at 12:55 -0400, Miguel de Icaza wrote: [...] > > * argument name mismatches are no longer reported (this will become > > more > > important as C# 4.0 now supports named parameters too) > > Yeah, in the future we will add a new option (just like we now have > two modes of com

Re: [Mono-dev] Nagle and NoDelay for HttpWebRequest -> EnableDnsRoundRobin

2009-04-11 Thread Gonzalo Paniagua Javier
On Sat, 2009-04-11 at 04:16 -0600, M. David Peterson wrote: [...] > > Implementing this ranges from trivial to us doing our own DNS > query > library (straightforward, I've done it in a past life). > > Interesting. What would be the benefit of going the DNS query library

  1   2   3   4   5   >