[Mono-list] More info on malfunctioning ASPX

Ivan Hawkes blackhawk@ivanhawkes.com
Sun, 6 Jul 2003 04:07:18 +0100


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

After a mammoth debugging session with nothing but trusty olf WriteLine at =
my=20
side I have some final and useful info on why the file reads are failing. I=
n=20
=46ileWebRequest.cs inside the method:

public override IAsyncResult BeginGetResponse (AsyncCallback callback, obje=
ct=20
state)

there is a statement that is meant to be executed asynchronously with the r=
est=20
of the code. i.e.

return c.BeginInvoke (callback, state);

This should run the GetResponseInternal () function asynchronously and prov=
ide=20
an IAsyncResult to sync with. It is this function that is attempting to rea=
d=20
the file. Sadly, the thread doesn't seem to launch (or whatever is meant to=
=20
happen), the function doesn't start to execute until *after* the timeout ha=
s=20
occurred, and so the file is never returned.

Hopefully someone familiar with the insides of Mono can cast some light and=
=20
bug fixes on this one ;->
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iQIVAwUBPweSZvr1e7bH1pzBAQLJ/g//Qc6dYXMEaT2TMPdV6Rx1GpKmr4XffvqK
t7Abdj08J7qgQLd/tz9Yw674ubegnF+MGDKJDgVo7isPHUf1449tRnu6Kv2vfycn
J0w+1oyY8YQwUHjnwkRibdbTzvsvIer4JrZUwQm4cnMcCzUSQZL1ZjAhzfezw+aN
puOYbYWwx5gXQR5fU9tYCHiIPrq9JtGULfywnIVRD4K+d/jA6p2hWXqoxT8lMn7G
8Zcp8lOiNhJCdMXeVt/+lc43tosd+PJeYTmVJ6LI4clz+yYGOyomJOc8nsqQcg3N
kjiGXdMc/xFnfwVhG366OQstFucGI+U+EOaPFPEjY37udbA9fEyYamP2+0NtdU4v
8WaLsFFV0WV6/B7wsB1cJON9B38jDJw5PpBMzRsO+DjEABsK+layqP7aHZRpIm8z
fdoP7b+rCHorCIsrnwpN0DnUiO++rWGPYIqHBO8NdxNz7LmpapTIERpkHyY/5NRw
4zVqjKbOpzzVWrHauFyrjbMINikqpIdo1RmRD+4xo2cX8CpJwRM/GD0UYoy4hKWy
+O+XvxlK6YejuEpsb1mIDlbAjLotQ6ma0eQV9t9xP/wtDjRrwzyVCXqwO4Z2IoMc
wVwViRpyS7HDRuzxdkJiuj2TZ5/qB5CkS6CsIzkKwb5ayxGcadlX9bz4vzP5pufy
YcJx9uS+lhk=3D
=3Dbw5I
=2D----END PGP SIGNATURE-----