#219: libssh2_channel_forward_listen_ex freezes the program!
-----------------------+----------------------------------------------------
  Reporter:  fingster  |        Owner:  bagder      
      Type:  defect    |       Status:  closed      
  Priority:  high      |    Milestone:  1.2.9       
 Component:  API       |      Version:  1.2.8       
Resolution:  invalid   |     Keywords:  port forward
    Blocks:            |   Blocked By:              
-----------------------+----------------------------------------------------
Changes (by fingster):

  * status:  assigned => closed
  * resolution:  => invalid


Comment:

 Replying to [comment:3 bagder]:
 > If you get NULL during non-blocking use you need to extract the error
 code to figure out if it is EAGAIN.
 >
 > I don't think we have any example for this, but we'd love to get one.
 >
 > Please consider using the mailing list instead for general help and
 advice as you don't seem to have identified any specific bug.
 After googling for a night and half day, the problem is finally resolved!
 libssh2_channel_forward_listen_ex is proper to implement 'ssh -R' not 'ssh
 -L'. For 'ssh -L', try "direct_tcpip" way.

 Thanks for bagder.

-- 
Ticket URL: <http://trac.libssh2.org/ticket/219#comment:4>
libssh2 <http://trac.libssh2.org/>
C library for writing portable SSH2 clients

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to