Override MAX File Descriptors Windows in msvcrt.dll

  • Status Closed
  • Budget $250 - $750 USD
  • Total Bids 12

Project Description


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]

Get free quotes for a project like this

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online