❦ 27 novembre 2015 13:00 +0900, "Yu Watanabe" <yu.watan...@octon.net> :
> I would like to ask a question to people in this forum. > > I appreciate if someone can help me out. > > Currently, I am using haproxy 1.5.14 on CentOS 6.6 64bit) > > My HAProxy is having problem when multibyte language is included in > the GET request. (Multibyte.png) > > It returns to 400 to client side. > > Nov 27 12:30:09 localhost haproxy[19214]: 172.16.30.99:51325 > [27/Nov/2015:12:30:08.573] http-in http-in/<NOSRV> -1/-1/-1/-1/1072 > 400 187 - - PR-- 17/17/0/0/0 0/0 "<BADREQ>" > > Compile option I used to build haproxy was below. > > make TARGET=linux2628 PREFIX=/usr/local/haproxy USE_PCRE=1 > USE_OPENSSL=1 USE_ZLIB=1 A 400 error is expected as RFC2616 forbids the use of non-ASCII (in fact non-ISO-8859-1, but in practice non-ASCII). They have to be encoded as described in RFC2047 (%XX stuff). Just an unverified hint, if you use any regex somewhere, you may need to use (*UTF8) at the beginning of your regexes. See pcreunicode(3) manpage. -- Terminate input by end-of-file or marker, not by count. - The Elements of Programming Style (Kernighan & Plauger)