I have a very simple form on a web page:

<FORM ACTION="test.exe" METHOD="post">
<TEXTAREA NAME="field"></TEXTAREA>
<INPUT TYPE=submit VALUE="submit">
</FORM>

The test.exe is a C program which does nothing, very simple:

void main() {
printf("Content-Type:text/html\n\n");
printf("OK\n");
}

If I just hit Submit, then it does as expected: prints "OK" and ends. If I put some data into the TEXTAREA then it does the same. But if I put a large amount of data (~1MB) into the TEXTAREA, then it fails with error 103 ERR_CONNECTION_ABORTED.

If I run it from command line then it works, ie. "test.exe < bigfile.txt"

Seems something about running it through IIS causes it to not work when there is a large amount of form data??