Closed

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

Hello,

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 .

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, max file descriptors, win32 programming, programming org, programming definition, operating system programming, office max, need programming posix, max programming, functions programming, dll system programming, definition programming, windows do, windows api, windows 10, win32, squid, squid php, proxy squid, cygwin, corrupted, compile linux, c windows

About the Employer:
( 1 review ) Tripoli, Lebanon

Project ID: #1266753

11 freelancers are bidding on average $679 for this job

brianjohnathanb

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)
3.5
nachimd1985

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)
2.8
ericedwards345

http://www.squid-cache.org/mail-archive/squid-users/201110/0452.html > 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)
0.6
Solent

Please see PM. Thank you

$600 USD in 28 days
(2 Reviews)
0.0
jeffwango

HELLO SIR PLEASE CHECK PMB

$700 USD in 7 days
(0 Reviews)
0.0
martinsad

PLEASE CHECK PMB

$750 USD in 10 days
(0 Reviews)
0.0
topdevusa

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)
0.0
zhangwenchao

I can do it.

$777 USD in 10 days
(0 Reviews)
0.0
piotrfiliciak

I can create own msvcrt.dll 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)
0.0
Polyergic

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)
0.0
sabirshah4545

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

$250 USD in 10 days
(0 Reviews)
0.0
singhrahul1603

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)
0.0