curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Tests 1060, 1061 fail

From: Spork Schivago <sporkschivago_at_gmail.com>
Date: Sun, 8 Jan 2017 12:38:42 -0500

Daniel,

I'm sorry for butting in here, but is there no easy to way to write the
code without using the goto statements? I seem to remember using goto's
was frowned upon by some programmers back in the day, at least with the C
programming language. I don't mean any offense by this and you probably
know the code best. If goto's are the only way, I understand. I was
just curious if there was another way.

Thanks!

On Sun, Jan 8, 2017 at 10:51 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Sun, 8 Jan 2017, Christian Weisgerber wrote:
>
> Yes, this fixes tests 1060 and 1061, and doesn't cause any new problems.
>>
>
> Lovely, thanks for verifying. I'll just give it a second thought and then
> push it. It would be slightly nicer to have the code actually wait for the
> correct activity on the socket rather than just doing a short sleep but
> this is also just a test server that doesn't have to be perfect.
>
> --
>
> / daniel.haxx.se
>
> -------------------------------------------------------------------
> List admin: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-01-08