[FFmpeg-trac] #7755(undetermined:new): HTTP header missing value specified with -header

FFmpeg trac at avcodec.org
Mon Feb 25 12:17:39 EET 2019


#7755: HTTP header missing value specified with -header
-------------------------------------+-------------------------------------
             Reporter:  forthrin     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 HTTP header fields specified with the `-header` option is not included in
 the request sent to the server. What is wrong?

 {{{
 $ ffplay -v debug -header $'X: 1\r\n' -i http://test:8080/
 ffplay version N-45416-g7e4d3dbe1 Copyright (c) 2003-2019 the FFmpeg
 developers
   built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
   configuration: --enable-gpl --enable-libx264 --enable-libass
   libavutil      56. 26.100 / 56. 26.100
   libavcodec     58. 47.102 / 58. 47.102
   libavformat    58. 26.101 / 58. 26.101
   libavdevice    58.  6.101 / 58.  6.101
   libavfilter     7. 48.100 /  7. 48.100
   libswscale      5.  4.100 /  5.  4.100
   libswresample   3.  4.100 /  3.  4.100
   libpostproc    55.  4.100 / 55.  4.100
 Initialized opengl renderer.
 [NULL @ 0x7fbbbe06dc00] Opening 'http://test:8080/' for reading
 [http @ 0x7fbbbd550dc0] Setting default whitelist
 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
 [tcp @ 0x7fbbbd414980] Original list of addresses:
 [tcp @ 0x7fbbbd414980] Address 127.0.0.1 port 8080
 [tcp @ 0x7fbbbd414980] Interleaved list of addresses:
 [tcp @ 0x7fbbbd414980] Address 127.0.0.1 port 8080
 [tcp @ 0x7fbbbd414980] Starting connection attempt to 127.0.0.1 port 8080
 [tcp @ 0x7fbbbd414980] Successfully connected to 127.0.0.1 port 8080
 [http @ 0x7fbbbd550dc0] request: GET / HTTP/1.1
 User-Agent: Lavf/58.26.101
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: test:8080
 Icy-MetaData: 1

 [http @ 0x7fbbbd550dc0] Last chunk received, closing conn
 [AVIOContext @ 0x7fbbbd70fa40] Statistics: 0 bytes read, 0 seeks
 http://test:8080/: Invalid data found when processing input
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7755>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list