Override MAX File Descriptors Windows in [url removed, login to view]


I have a proxy server called "[url removed, login to view]" with open source code and for sure it is working well on Windows and Linux but the thing is I am forced to work on this project as a windows user!.

This work is only for an office use not related to the owner of the proxy Server!.

I have compiled Squid [url removed, login to view] on Windows using MinGW and Cygwin but the thing I have already tried to avoid the file descriptors limitation in windows but with no luck anyway . The problem is MinGW is linking with [url removed, login to view] on Windows (located in C:/windows/system32) but Squid only can see 2048 since the operating system has the definition of maxfd=2048 on Windows .. so some people say that I need to get the source code of [url removed, login to view] and work on my own [url removed, login to view] as a replacement to [url removed, login to view] on windows!! as I can only change something silly in the file.c .



/* FIXME: this should be allocated dynamically */

#define MSVCRT_MAX_FILES 2048

in this way I can only change from 2048 to 20480!. anyway I have the source code but taken from [url removed, login to view]! and this source code is corrupted because its not pure for WIndows since their work is to get the source code and compile it under linux so if its possible to something like replacing the use of the POSIX I/O interfaces or the functions squid uses on Windows (repalcing with the Win32 API calls) as (CreateFile, WriteFile, etc). All that I know , the Windows API does not support opening files in append mode in all cases.

maybe you will understand the problem the same that I do !!

[url removed, login to view]

Skills: C# Programming, C++ Programming, FreelancerAPI, Linux, Supplier Sourcing

See more: max file descriptors windows, windows max file descriptors, file descriptors windows mysql, override max file descriptors windows, max file descriptors, win32 programming, programming org, programming on windows, programming in linux, programming definition, programming define, operating system programming, office max, need programming for posix, max programming, get in c programming, functions in programming, functions in c# programming, functions in c programming, dll in system programming, definition of programming, define programming, windows do, windows api, windows 10

About the Employer:
( 1 review ) Tripoli, Lebanon

Project ID: #1266753

11 freelancers are bidding on average $679 for this job


I am a skilled C and C++ developer, and have some idea of what must be done to work around this issue of maximum file descriptors. I am experienced in Linux and Unix development as well as Windows APIs.

$777 USD in 20 days
(1 Review)

hi,this is nasir mehmood. i am software engineer and have more than 18 years of development experience in embedded systems, database design, web design, graphics and mobile applications. i have extensive knowledge of w More

$722 USD in 10 days
(1 Review)

[url removed, login to view] > Windows FS in Squid uses the native Win32 Overlapping I/O thread > interfaces for disk access whenever that is available. The FD limit is > no More

$250 USD in 2 days
(1 Review)

Please see PM. Thank you

$600 USD in 28 days
(2 Reviews)


$700 USD in 7 days
(0 Reviews)


$750 USD in 10 days
(0 Reviews)

Thanks for your post on Freelancer, firstly I would like to say that we DO NOT ASK TO RELEASE PAYMENT till the entire project is complete. Only thing that we request is that you put in an escrow deposit that you do no More

$1030 USD in 30 days
(0 Reviews)

I can do it.

$777 USD in 10 days
(0 Reviews)

I can create own [url removed, login to view] that calls original msvcrt when necessary and replace some functionality to do it through Win32 API. This should work as expected - without modification squid project

$750 USD in 28 days
(0 Reviews)

I have in mind to create a set of file access functions that work like the POSIX file access API but use the Win32 API, or with the proper #define just call the POSIX API. This way, after minimal changes (call the new More

$555 USD in 14 days
(0 Reviews)

i will do it thanks................................................................................................................................................

$250 USD in 10 days
(0 Reviews)

I have worked with squid proxy server on both linux and windows since past 3 years. I have one of them working in my office also. Hi concerned, The installation of the squid on windows is simple, and later its c More

$555 USD in 5 days
(0 Reviews)