It seems that commit b0bdae7 has completely broken haproxy for me. When
I send a request to haproxy, it just sits there. The backend server
receives nothing, and the client waits for a response.
Running with debug enabled I see just a single line:
00000000:f1.accept(0004)=0005 from [127.0.0.1:63663] ALPN=<none>

commit b0bdae7b88d53cf8f18af0deab6d4c29ac25b7f9 (refs/bisect/bad)
Author: Olivier Houchard <ohouch...@haproxy.com>
Date:   Fri May 18 18:45:28 2018 +0200

    MAJOR: tasks: Introduce tasklets.
   
    Introduce tasklets, lightweight tasks. They have no notion of priority,
    they are just run as soon as possible, and will probably be used for I/O
    later.
   
    For the moment they're used to replace the temporary thread-local list
    that was used in the scheduler. The first part of the struct is common
    with tasks so that tasks can be cast to tasklets and queued in this
list.
    Once a task is in the tasklet list, it has its leaf_p set to 0x1 so that
    it cannot accidently be confused as not in the queue.
   
    Pure tasklets are identifiable by their nice value of -32768 (which is
    normally not possible).

Issue reproducible with a very simple config:

defaults
  mode http
frontend f1
  bind :8081
  default_backend b1
backend b1
  server s1 127.0.0.1:8081

Compiled on OS-X with only a single make variable of TARGET=osx
Compiler: clang-900.0.39.2


-Patrick

Reply via email to